Главная страница | назад





Article #10304: Project works in Debug version but not in Release version.

Question:

My project works great when I link it with debug information, but when I change the Compiler option to release, it no longer works. What is going wrong?

Solution:

When you set the compiler to release not only is there no debug information linked in, but it also changes the optimization and more. Make sure that none of the options that needed to be set are changed automatically. Here is a list of options that change:

Compiler Tab:

Code Optimization

Debugging

Compiling

Advanced Compiler Tab:

Register Variables

Pascal Tab:

Code Generation

Debugging

Linker Tab:

Linking

Last Modified: 01-OCT-99