Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

invalid variant operation with delphi 6

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
with some activex, dragged on the form , i have error :
"invalid variant operation "

please help me
 
I am not sure of your problem, but I had the same error message with my application.

I had to free the object and recreated the object.

Michael
 
Probably because the Variant implementation by Borland was totally redone for D6. This caused a lot of strange problems, performance hurdles and other bugs, wich validated the release of patch 1 on D6 s-)

(Just read this somewhere, some time ago)
HTH,
TonHu
 
Did you include the variants unit in your uses clause? I know we had to add it to several units when we moved to Delphi 6. "The difference between practice and theory is that in theory, there is no difference between practice and theory" - Somebody's tag line I stole
 
hi bbegley.

Yes I did add it in my unit.
The same problem is in Delphi 7.0.

Michael
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top