ndhai
asked on
run without DLLs (Visual C++)
I want to my program runs independent (without DLLs).
How can I set options to compile it?
thanks
How can I set options to compile it?
thanks
Hi,
Go to Project->Settings and specify as "Static linking" instead of Dynamic Linking for the MFC dlls. That should solve ur prob.
Try it out.
VinExpert
Go to Project->Settings and specify as "Static linking" instead of Dynamic Linking for the MFC dlls. That should solve ur prob.
Try it out.
VinExpert
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi jhance,
I am sorry. I just wrote it..... I just forgot to read the prev comments. Anyway, thats not the new one to go around and find answer and copy it here.
VinExpert
I am sorry. I just wrote it..... I just forgot to read the prev comments. Anyway, thats not the new one to go around and find answer and copy it here.
VinExpert
Please specify. If you mean MFC DLLs, then use the Project Settings>General and the Use MFC in a Static Library option to statically like the MFC runtime to your application. But even if you do this, SOME DLLs will still be loaded at run time.