Content originally posted in LPCWare by MarcVonWindscooting on Fri Sep 13 16:46:57 MST 2013
To my experience, a program working in one compilation configuration but not running in some other is a strong indication to memory access violations (in my programs). I bet, your code is simply buggy, doing some structure/variable overwriting ;-)