IBM Support

Error: sqasrvr.pas(74): Unit OleAuto was compiled with a different version of OLE2.Idispatch

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.



[{"Product":{"code":"SSSHDX","label":"Rational Robot"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Extensions","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2001.03.00.271.000","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

16027

Document Information

Modified date:
16 June 2018

UID

swg21135927