Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debug to release change

Status
Not open for further replies.

cadbilbao

Programmer
Joined
Apr 9, 2001
Messages
233
Location
ES
Hi all!

I've just finished my development of a DLL by using VC++ 6.0. Until now, I've been using Debug mode, but I want to know to build the release DLL.

Two questions:

1) What must I change in Project Settings?
2) Is my project to waste less memory?

Thank you very much.
 
To build the release version simply select 'Set Active Configuration' which is located under 'Build', and change the current config from debug to release.
Sorry, don't understand your second question.
 
Thank you, PenciBiter, for answering.

Dealing with my second question: I've noticed that my debug version wastes a lot of memory (when I execute it, memory consumption raises 5 Mb). I wonder if the release version is to waste less memory or not.

Thank you very much.
 
The release version will normally consume less memory and will produce a smaller .exe file.
 
Thank you.

I 'Set Active Configuration' to Release, and I get now 77 errors. I suppose I must reconfigure the libraries to compile, right?

/NODEFAULTLIB:libc.lib /NODEFAULTLIB:libcmt.lib /NODEFAULTLIB: msvcrt.lib /NODEFAULTLIB:libcmtd.lib /NODEFAULTLIB:msvcrtd.lib
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top