Why does my Visual C++ program using Coin work for debug builds but not for release builds?
The MS Visual C++ compiler changes behaviour when you change between DEBUG and RELEASE mode. Initialization of variables is one thing in particular you should look at - debug compilation will cause all variables to be initialized to zero, while they will have random values for release builds.
There are of course other possible causes as well.


