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?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi RosalineHe
U need not regidter dll
put it in UR current directory or winnt/system directory and use following statement to access functions U will get the result

[Public | Private] Declare Sub globalname Lib libname$ [Alias aliasname$]
[(argument list)]


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RosalineHeAuthor Commented:

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?
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.