Problem occurs in loading managed C++ dll.

D

deep

While trying to load a managed C++ dll getting an error "This
application has failed to start because the application configuration
is incorrect. Reinstalling the application may fix this problem.
(Exception from HRESULT: 0x800736B1)".

Can anyone give a solution why loading is failed ?
 
B

Ben Voigt [C++ MVP]

deep said:
While trying to load a managed C++ dll getting an error "This
application has failed to start because the application configuration
is incorrect. Reinstalling the application may fix this problem.
(Exception from HRESULT: 0x800736B1)".

Can anyone give a solution why loading is failed ?

This is probably when you first deploy to a machine without Visual Studio
installed?

You need to have the right version of the C++ Runtime Libraries. There's a
vcredist_x86.exe included with Visual Studio (Standard or above) that you
can install before running your program, and there's also merge modules for
adding to an MSI-based setup program.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top