Troubleshooting
Problem
Error: sqasrvr.pas(74): Unit OleAuto was compiled with a different version of OLE2.Idispatch
Resolving The Problem
SYMPTOM:
Error on compiling Delphi project after adding the line SQASrvr to enable the application for Robot testing.
Errors:
[Fatal Error] ProjectName.dpr(20): Unit OleAuto was compiled with a different version of OLE2.IDispatch
[Fatal Error] sqasrvr.pas(74): Unit OleAuto was compiled with a different version of OLE2.Idispatch
CAUSE:
There are conflicting versions of ole2.dll in the search path set in the Delphi project.
RESOLUTION:
Remove [Delphi5/Source/RTL/Win]from the search path in Delphi. This is done specifically under Project Options -> Directory/Conditionals -> Search Path.
Historical Number
16027
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21135927