Board index » delphi » Please Help: Using SQLServer 2000 Merge ActiveX Control

Please Help: Using SQLServer 2000 Merge ActiveX Control

I am using Delphi 5 Enterprise with all updates.

I have tried to import the Microsoft ActiveX Merge Control but get "left
side cannot be assigned to" at the following line in the Type Library:

TControlData2(CControlData).FirstEventOfs := Cardinal(@@FOnStatus) -
Cardinal(Self);

I have search Google and found a few similar errors when importing and using
ActiveX controls, but most are related to using Delphi 6. And, further, I
have found no explanation for the error or what can be done to successfully
import the ActiveX control.

Can anyone please help me with this?

 

Re:Please Help: Using SQLServer 2000 Merge ActiveX Control


I set the following compiler options and the problem was resolved:

(1) Typed @ operator

(2) Assignable typed constants

"Wayne L. McKittrick" <wayne...@flash.net> wrote in message
news:3d3766e5_2@dnews...

Quote
> I am using Delphi 5 Enterprise with all updates.

> I have tried to import the Microsoft ActiveX Merge Control but get "left
> side cannot be assigned to" at the following line in the Type Library:

> TControlData2(CControlData).FirstEventOfs := Cardinal(@@FOnStatus) -
> Cardinal(Self);

> I have search Google and found a few similar errors when importing and
using
> ActiveX controls, but most are related to using Delphi 6. And, further, I
> have found no explanation for the error or what can be done to
successfully
> import the ActiveX control.

> Can anyone please help me with this?

Other Threads