DLL Fun!

I'm programming in VB6 but thought that
C++ programmers might be better qualified
to answer this one. The installation
routine generated by VB tries to install two
dlls both which give the following error
message when I try to register using regsvr32

"x.dll was loaded but the DllRegister server entry
point was not found. DllRegister may not be
exported or a corrupt version of x.dll may be in memory.
Consider using PView to detect and remove

The dlls that cause this are:

expsrv.dll and vba6.dll

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.

Because regsvr32 is used by registering Activex/COM  in-process server. such .dll(com) needed to be registered by exporting a funciton,DllRegisterSever().
So,because those two .dll are not such type .dll.
Or,a registered version is in use,you should revoke it,you can see by using dllview.

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
branch40Author Commented:
How do I revoke it? What is dllview?


>>How do I revoke it?

I mean unload such .dll.But I suspect such .dll are not activex server.
>>What is dllview?
It's a tool to see which .dll are in memory in all process.It's not around for me but I can find it if you want.But I dont think it helps much.YOu simply end all process and retry to register it.If fail,I bet you can register such dlls.
OOps,I bet you can not register it.
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.