VC++ : From Debug to Release
What steps should be done when moving from Debug to Release application:
1. at the Compiler& env. level
2. at the code level - what adjustments should be done
Web Development
What steps should be done when moving from Debug to Release application:
1. at the Compiler& env. level
2. at the code level - what adjustments should be done
by b.
Your question is very general. I will give some basic information on the topic; if you need more specific information, please elaborate your question.
When a project is created in VC++, there are two configurations created automatically; debug and release. The active configuration is debug. To compile the release version, either set active configuration to release mode, or do a batch build (both of these options are under the "build" menu).
Usually no adjustments should be done at the code level -- the idea is that you debug and release the same code. Some debugging aids may have to be removed, but they should have been written initially with an #ifdef _DEBUG or been done through macros like "ASSERT". It is best for such debugcode to be carefully written so as to have no side effects, so that, when it is removed, the surrounding code will run in an identical manner.
This discussion is closed to new replies.
Sort by Trending