Problem occurs in loading managed C++ dll.

  • Thread starter Thread starter deep
  • Start date Start date
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 ?
 
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.
 
Back
Top