jlgrant
asked on
DllRegisterServer failure
I have written an OCX in Visual Basic (VB5). The OCX installs and executes properly on most computers, both Win95 and WinNT. However, on some systems, we get the error message "DllRegisterServer in (OCX name)failed," and the OCX does not register. There is no error number or additional information with this error. I suspect that the systems on which the register fails are missing some DLL that the OCX needs to execute, but I can't identify any missing components.
Does anyone have any suggestions as to what is causing this failure, and how to fix it?
Thank you
Jim Grant
Does anyone have any suggestions as to what is causing this failure, and how to fix it?
Thank you
Jim Grant
You're probably missing a DLL. Go to http://www.slip.net/~thui and go to the shareware section. Get DLLLook and use it to find out which DLLs your OCX requires. Use it on the tstcon32.exe application. Then make sure each of the other machines have those DLLs.
ASKER
What is the tstcon32.exe application?
ASKER
I followed the above suggestion. DLLLook indicated that the following DLL's are used by the OCX:
OLEAUT32.dll
ole32.dll
ADVAPI32.dll
GDI32.dll
USER32.dll
KERNEL32.dll
MSVBVM50.DLL
WINSPOOL.DRV
All of these DLL's are on at least one system where the installation fails.
Any more suggestions.
OLEAUT32.dll
ole32.dll
ADVAPI32.dll
GDI32.dll
USER32.dll
KERNEL32.dll
MSVBVM50.DLL
WINSPOOL.DRV
All of these DLL's are on at least one system where the installation fails.
Any more suggestions.
ASKER
I followed the above suggestion. DLLLook indicated that the following DLL's are used by the OCX:
OLEAUT32.dll
ole32.dll
ADVAPI32.dll
GDI32.dll
USER32.dll
KERNEL32.dll
MSVBVM50.DLL
WINSPOOL.DRV
All of these DLL's are on at least one system where the installation fails.
Any more suggestions.
OLEAUT32.dll
ole32.dll
ADVAPI32.dll
GDI32.dll
USER32.dll
KERNEL32.dll
MSVBVM50.DLL
WINSPOOL.DRV
All of these DLL's are on at least one system where the installation fails.
Any more suggestions.
ASKER
This suggestion didn't locate the problem. The DLL's DLLLook indicated were necessary to execute were present on at least one system where registration failed.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.