For example, this application:
#define _WIN32_WINNT 0x0500 #include int __stdcall NoCRTMain(void) { int result; PWSTR lpCmdLine
A year on, I'm finally confident in claiming that Hans' suggestion has worked perfectly: if the application is built with the /DYNAMICBASE:NO and /FIXED:YES options, the problem does not occur.
/DYNAMICBASE:NO
/FIXED:YES