why winform using external dll(VC) and ocx(VC) control can only import one?

Posted by jack on Stack Overflow See other posts from Stack Overflow or by jack
Published on 2010-05-30T17:34:12Z Indexed on 2010/05/30 17:42 UTC
Read the original article Hit count: 124

Filed under:

we have a .net framework application with a vc dll and a vc ocx, and now if we only import one dll ,it is ok, but when we import both, it will pop a messagebox saying: Debug Assertion Failed!

and i studied the child module of our application that import the vc dll, i found after the framework import vc ocx and initialize , then the function LoadLibrary in our module importing the vc dll would return 0, that means memory limited or call improperly, i use getlasterror() the error code is 1114.

so it is very frustrated ,hope someone can help me.

© Stack Overflow or respective owner

Related posts about c#