How do I make my .exe work on other computers?
(I'm using .NET)
Printable View
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.Quote:
Originally posted by SpankyTheWalrus
How do I make my .exe work on other computers?
(I'm using .NET)
Quzah.
Like ones running Linux for example?
I meant other computers using a Windows OS.Quote:
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.Quote:
(I'm using .NET)