I need to register a Dll but keep getting this message from RegSvr32.
Any ideas?
Printable View
I need to register a Dll but keep getting this message from RegSvr32.
Any ideas?
Try starting Windows in Safe Mode and doing it again.
Tried it, no joy.Quote:
Originally posted by filburt1
Try starting Windows in Safe Mode and doing it again.
The computer where you're trying to register the DLL might not have all of the DLL's dependancies. Make sure that whatever the DLL references is present on the computer you're trying to register it on.
"The computer where you're trying to register the DLL might not have all of the DLL's dependancies. Make sure that whatever the DLL references is present on the computer you're trying to register it on."
-- Also make sure that the pathing to the dependancies is set as well.
How do I do that?Quote:
Originally posted by vbgladiator
The computer where you're trying to register the DLL might not have all of the DLL's dependancies. Make sure that whatever the DLL references is present on the computer you're trying to register it on.
If the dll doen't have a DLLRegisterServer entry point, it is probably not a COM dll. Only COM dll's need to be registered.
Other DLL's must be placed in a location in the PATH environment variable. Mostly the system/system32 directory is used.
Oh, and it is definitely not a dependency problem. You would have got a different error message for that.
I can't even reference this .DLL from within VB6.
It probly is not an active X dll then.
You will need to call it with Knowning exactly the procedure names in it, like how you would use an API call.
Would the functions need to be declared like an API function then?Quote:
Originally posted by Grimfort
It probly is not an active X dll then.
You will need to call it with Knowning exactly the procedure names in it, like how you would use an API call.
Yes, you will need to declare the functions, just like any other API call.
How about some more info on the dll. What is it, did it come from a s/w package, is it custom, where did you get it...?