The {Program Name} is linked to the missing export OLEAUT32.DLL:VarNot

By: Angel Martinez

Abstract: Discusses the problem with oleaut32.dll and Delphi 6 Update Pack 2

Problem


After installing Update Pack 2 for Delphi 6, deploying even the most basic application on a machine running Windows 95 will give the following error when trying to run the app:
The {Program Name} is linked to the missing export OLEAUT32.DLL:VarNot This problem will also occur on a machine running Windows 98 without any DCOM updates applied. Windows 98SE doesn't exhibit this behavior.

Solution


In order to resolve this issue, install the Win95 DCOM 1.2 Service Pack and on a Windows 98 Machine apply the DCOM update. This update can be obtained from http://msdn.microsoft.com

Server Response from: ETNASC04