|
-
January 7th, 2010, 12:37 AM
#2
Re: Deploying with no Setup
Just compile with static linkages to the CRT (and MFC if applicable).
Go to Project->Properties and drill down to:
Configuration Properties -> C/C++ -> Code Generation -> Runtime Library
and select "Multi-threaded (/MT)"
If you're using MFC:
Configuration Properties -> General -> Use of MFC
and select "Use MFC in a Static Library"
You're exe will be considerably bigger, but it should run on any platform from Win2K (possibly even Win98 depending on the features) and later without any extras--just run the EXE in-place.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|