We have a C++ executable that is built in the release configuration. As a project requirement before running the same, it first needs to be registered using /RegServer option. And doing so, it fails and throws this application error: 'The application was unable to start correctly(0xc000007b)'
Whereas, in debug mode we can register the same successfully.
Actually, we have been facing some workflow issue with this exe when deployed to a test machine and therefore we configured this project to be able to debug in the release mode.
Please follow this link to get to know the config we did to debug in the release mode.
Environment: Visual Studio 2010