Project works in Debug version but not in Release version.

By: Kevin Scardina

Abstract: My project works great when i link it with debug information, but when I change the

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


Server Response from: ETNASC04