Link to home
Start Free TrialLog in
Avatar of RosalineHe
RosalineHe

asked on

Assertion error when registering a DLL

I am trying to register a dll developed in Visual C++ for use in a VB 6 app. The process gives me the following error: "Debug assertion failed" and specifies Viewhtml.cpp line 419 as the file where the assertion error fails.  Is there an obvious reason why I'm gettin this error - maybe a required dll on my system (Windows NT 4 SP4).  I infortunately do not have any knowledge of what is used to develop the dll in Visual C++!  Hope somebody out there can help?
ASKER CERTIFIED SOLUTION
Avatar of inpras
inpras

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RosalineHe
RosalineHe

ASKER

Inpras

The VB app I am trying to write is a dll itself.  The dll I am trying to  register is more like an interface between my app and an external product and has a *tlb.  We operate according to strict standards and even though your suggestion is workable, it is not unfortunately against our standard.  Do you know of any Mfc* library that I might be missing that could cause an assertion error?
Hi
I don't think it is because of mfc library UR getting assertion failure
do U have the source code for UR dll or do U know what kind of dll it is?
I think that may be causing the registering function to fail.
Remember it is not necessary that UR dll have problems to get a assertion.
the method I have suggested is std method to access a dll even API's are excessed using this function
Hope this helps
Regards