hi guys
how can i compile my project with visual studio that i can run my program in other PC that they dont have visual studio or .net framework ?
please tell me for Win32 and Clr application
i know my grammer is too bad sry :D
Compile program. Take the executable file that is made. That's what runs on your PC; the executable file.
Copy that file onto the other computer. Run it. If your executable wants .NET or some other such, install the .NET libraries using the installer Microsoft provides.
ok how can i do this without install .Net in other PC ?!!!
how can i compile static my project ? or like "Multi-threaded Debug (/MTd)" i think this is static compile my project :-??
use the /MT not any of the others, then only kernel32.dll is used, otherwise you need the c runtime libraries. I do not know if this helps with the .net stuff though. but worth a try.
in the code generation properties pane change the 'Runtime Library' option to /MT.
I do not know all of the details but I from what I read (a while ago) using this option will allow your application to utilize kernel32.dll for the needed functions, instead of msvcrt.dll.
The use in this is that all windows computers have kernel32.dll but not all of them have msvcrt.dll.