Click to See Complete Forum and Search --> : why I can`t run *.exe in another PC?
andywish
February 28th, 2001, 03:23 AM
I am a new user of C#,
why I can`t run the compiled *.exe in another PC??
it told me can`t find the dlls.
why and how?
Thx.
weih
February 28th, 2001, 08:03 PM
When you install .net sdk,it install some *.dll in you PC
yaoliwei
March 1st, 2001, 06:35 PM
If you have been a C++ programmer or other language programmer,you should know the dll problem.
If you has not been a C++ programmer,then I recommond you to learn it.There's much fun in C++ programming,may no in C# programming.So first enjoy C++,then have a try on C#.
Wish you good luck!!!
I love Inter Milan very much !
Tom Archer
March 9th, 2001, 09:36 PM
>>>
why I can`t run the compiled *.exe in another PC??
<<<
Because an application created with a .NET compiler is actually a standard Win32 PE with a stub that checks for the existence of the .NET runtime and then calls a special function that exists in the .NET runtime engine. This runtime function then calls the functions necessary to jit your code. If the stub can't find the runtime, you get an error message.
Cheers,
Tom Archer - CodeGuru
Inside C# (early 2001)
Teach Yourself Visual InterDev in 24 Hours
pellybelly
April 1st, 2001, 12:01 AM
All computers running C# at this time must have the .NET SDK installed. It's not nearly as common as C++, where you can copy the .exe and get away with it (most of the time).
And because C# is in beta stages, creating installation wizards for it isn't even enough. The .NET SDK is your answer.
John
Peloweb.com
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.