But from then on, our application mysteriously terminated on run with:
Code: Select all
The application failed to initialize properly (0XC0000005). Click OK to terminate the application.
You will find that your .exe won't run - no matter which path it is in.
You'll find the offending key under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
It's used for debugging, and Application Verifier fails to remove it properly.