I built a win32 application. In the program I use MessageBox on several locations. For some reason some messege boxes cause crashes to the program. I even tried checking the returned value, but the program doesn't reach this stage.
I tried switching to MessageBoxA, still no good.