How do I make my .exe work on other computers?
(I'm using .NET)
How do I make my .exe work on other computers?
(I'm using .NET)
What do you mean "work on other computers"? If it's a stand alone executable, compiled in Windows, then any Windows PC should be able to use it, assuming you're not linking to some required DLLs or the like. If you mean other operating systems, then the best you can get is to make portable code (not using any system specific libraries or system calls), and then recompile it on different platforms.Originally posted by SpankyTheWalrus
How do I make my .exe work on other computers?
(I'm using .NET)
Quzah.
Hope is the first step on the road to disappointment.
Like ones running Linux for example?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I meant other computers using a Windows OS.Originally posted by quzah
What do you mean "work on other computers"? If it's a stand alone executable, compiled in Windows, then any Windows PC should be able to use it, assuming you're not linking to some required DLLs or the like. If you mean other operating systems, then the best you can get is to make portable code (not using any system specific libraries or system calls), and then recompile it on different platforms.
Quzah.
I don't know if it's linked to required .dll files or not. How do you find out? And if it is, how would you create a .exe for it?
Thank you.
If you're using managed code or any of the .NET classes, your .exe file requires you to install the .NET redistributable DLL on any target machines.(I'm using .NET)