magikandrea Level: Big Cheese Registered: 08-10-2002 Posts: 21
DLL Problem
Hi, I'm writing a VB6 program. It must use a DLL file.
When I try to register the DLL I receive the following error:
regsvr32 C:\Mydll.dll
ERROR: Unable to find the specified module.
I tryed to use the "Dependency Walker" tool, but everything seems to be OK.
What can I do?
Thank you very much form your help.
06-03-2006 at 10:28 AM
|
magikandrea Level: Big Cheese Registered: 08-10-2002 Posts: 21
Re: DLL Problem
I solved my problem.
I had my DLL into a folder in C:\Program Files\MyDll.dll
I moved I into a new path (the project path): C:\VBPrograms\DLL\MyDll.dll and I registered it succesfully.
It seems that the path with the blank space doesn't work.
06-03-2006 at 02:50 PM
|
Goran Level: Moderator Registered: 16-05-2002 Posts: 1681
Re: DLL Problem
IF you put your path betwen quotes then it will work.
Ex
regsvr32 "path to dll file"
____________________________
If you find the answer helpful, please mark this topic as solved.