View Single Post
Old Jan 28th, 2005, 6:13 PM   #7
Rory
Expert Programmer
 
Rory's Avatar
 
Join Date: Jan 2005
Location: London
Posts: 542
Rep Power: 4 Rory is on a distinguished road
Send a message via MSN to Rory
Actually, regsvr32 only works on self-registering COM components (i.e. ActiveX) that conform to the __stdcall. It won't help - DLL's do not need to be "registered" as such. Regsvr32 doesn't actually do anything special anyway, it's just a special case of rundll32 - it looks for a entry point called DLLRegisterServer, making the DLL responsible for registering itself in the COM registry.

Error 53 means that VB can't find the file specified by Lib, for which regsvr32 is no help - An error such as "ActiveX Component can't create object" would be the sort of thing caused by a registration issue that regsvr32 could solve.
Rory is offline   Reply With Quote