When trying to develop my own game engine, I eventually ran into a problem I am unable to solve when dealing with WINAPI: my game window shows up in debug build, but not in release build. Also the process itself keeps hanging after I close my command line.
This is wierd since there are no changes in the code whatsoever. The code stays the same and debug and release builds have default settings (excluding library linkages).
I would post some code had it not been so long. I use pimpl-idiom to make my class interface more clean and cross-platform. I don't know whether this has anything to do with this or not. My only guess is that optimizations may cause some problems, but I doubt it. How could this issue be solved?