I'm trying to run a memory error analysis on a Win32 OpenGL game compiled with Visual Studio 2010. I'm using a demo of Parallal Studio XE 2013. It starts to run the game then quickly exits before the window is even shown and does not report any errors. vTune Amplifier runs it just fine.
I've tried all 3 modes Detect Leaks, Detect Memory Problems, Locate Memory Problems all with the same result.
The collector Messages window mostly lists modules Loaded and Unloaded and this line:
Application exit code: -1073741819
By using log files I narrowed down the code that causes the exit to:
SHGetSpecialFolderLocation(NULL, CSIDL_PERSONAL, &pidl);
If I comment that out the program executes a little further and exits again.