Cry about...
MS-Windows Troubleshooting

LoadLibrary ("LLLL") failed. GetLastError returns 0x0000007e


When attempting to register a COM object (e.g. Active-X component or OCX) with ‘Regsvr32’, i.e.:

regsvr32 COM

it fails with a message box displaying:

LoadLibrary ("COM") failed
GetLastError returns 0x0000007e

Where ‘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.

See also: "LoadLibrary failed - The specified module could not be found"

These notes have been tested with Windows NT4.

About the author: 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.