Not able to register a C++ executable

Sandeep Gupta 0 Reputation points
2023-02-27T10:41:54.84+00:00

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.

https://learn.microsoft.com/en-us/cpp/build/how-to-debug-a-release-build?view=msvc-170

Environment: Visual Studio 2010

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,913 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.