Click to See Complete Forum and Search --> : VC++ compiler
Daok
Dec 27th, 2002, 10:42 AM
Is there a way to compile a projet (to distribute an exe to others ) in an other way that take the executable from de debug folder?
parksie
Dec 27th, 2002, 11:57 AM
First, compile in Release mode, then yeah, just copy the .exe :)
transcendental
Dec 27th, 2002, 06:57 PM
Set in the Project setting to link statically, then compile in Release mode. Then it will run on any PC without VC.:) :D
[talkative mode on]
This is 1 advantage of VC over VB. That is also 1 of the reasons I switch to VC from VB. 3 years ago I made a 'dumb' VB program which I wanted to show off to my friends, it couldn't run on their PC as they do not have VB runtime. And they do not want to install VB runtime just to run my 'dumb' program.(They are not IT savvy people).:(
[/talkative mode off]
Yonatan
Dec 29th, 2002, 06:15 AM
Ahh, the pains of VB and the wonders of VC++. :)
Btw, Daok, you might want to check the project settings before compiling. Some things there (especially compiling for fast/small code, using/not using runtimes, etc) might be important.
Daok
Dec 30th, 2002, 10:44 AM
ok but I cannot not see any button to switch to "Release mod"...
Daok
Dec 30th, 2002, 10:46 AM
Build > Set Active Configuration > Release
I think it's that :)
Thx you all!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.