LoadLibrary ("LLLL") failed. GetLastError returns 0x0000007e
When attempting to register a COM object (e.g. Active-X
component or OCX) with ‘
it fails with a message box displaying:
LoadLibrary ("COM") failed
GetLastError returns 0x0000007e
COM’ is the name of the COM object file.
The COM object file could not be loaded, because the file could not be found.
Check the name of the COM object file to check that it has been correctly specified.
Check that the COM object is in the current directory or specify the full path to the file. If a path component is supplied to the call then check that the COM object file exists there.
These notes have been tested with Windows NT4.
About the author: Brian Cryer is a dedicated software developer and webmaster. For his day job he develops websites and desktop applications as well as providing IT services. He moonlights as a technical author and consultant.