Cannot load dll file

Every time I try to load a DLL (COM), I get the following error:

LDR: LdrpWalkImportDescriptor () error investigate its manifest, ntstatus 0xc0150002

I searched a lot, but found nothing. Please, I really believe in the experts of this site, and I hope to get a solution to this problem.

I know the problem is with the manifest file, but I really don't know what it is and how to fix it.

I am using VS2010 C ++ and LoadLibrary

0
source share
3 answers

This is the error code description from ntstatus.h:

//
// MessageId: STATUS_SXS_CANT_GEN_ACTCTX
//
// MessageText:
//
// Windows was not able to process the application binding information.
// Please refer to your System Event Log for further information.
//
#define STATUS_SXS_CANT_GEN_ACTCTX       ((NTSTATUS)0xC0150002L)

Windows . , CRT, DLL, ​​ . , , . COM , .

+2

Com dll loadlibrary. , CoCreateInstance , .

, DLL , dll, .

+1

The first and second that Google produces for this error suggests that this is usually caused by the version of the runtime library. Both precede VS2010, but I would start looking for a similar problem. Have you tried duplicating the analysis steps described in this first post?

(Is the DLL something you created? If not, maybe it was really built with VS2008 and matches exactly that post? If so, maybe you can try the compilation recommendations recommended there.)

0
source

All Articles