Discussion Locked

OLE32.DLL relocated in memory error

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I recently installed a piece of shareware on my NT4 box and it screwed up my machine. I receive the following error message for each program I attempt to start or is started by my Startup.
"The system dll ole32.dll was relocated in memory. The application will not
run properly. The relocation occured because the DLL Dynamically Allocated
Memory occupied an address range allocated for Windows NT system dll's. The
vendor supplying the dll should be contacted for a new dll."

I don't see a desktop because Explorer.exe won't even open. I have of course rebooted my machine, and attempted to start applications from the Run dialog box. I also reinstalled SP6a though I received the same errors while doing so.

Any assistance would be greatly appreciated.

1 reply

by curacao_dejavu

Not good news as you can see from the MS KB 193430

SYMPTOMS
OLE32.dll expects to be loaded at a specified base address in a process. If it is loaded at a different base address, the process might crash unexpectedly. Also, under Windows NT 4.0, storage APIs (such as StgCreateDocFile) return error 80030110 (STG_E_BADBASEADDRESS).

RESOLUTION
At present, there is no way to work around this problem. However, this is no longer a requirement under Windows NT 5.0.

STATUS
This behavior is by design in Windows NT 4.0, Windows 95, and Windows 98. Most applications will not run into this problem.

MORE INFORMATION
You need to ensure that OLE32.dll is not relocated. There are two ways to achieve this:

You should avoid dynamically linking to OLE32.dll in your applications.

You should make sure that your applications do not base their binaries (.exes or .dlls) at the same base address as OLE32.dll. You can obtain the base address of OLE32.dll by using the following command:
link /dump /headers ole32.dll

OPTIONAL HEADER VALUES
....
77B20000 image base
....

NOTE: In the output of this command look for "image base."

Can you start the uninstallation program from the run dialog box, and browse to the app that caused this.

I am afraid you need to reinstall nt or instll w2k.

Best of Luck,

Leopold

This discussion is closed to new replies.