Board index » delphi » Variant error from a VB com object used in Delphi
GM
![]() Delphi Developer |
Mon, 04 Apr 2005 02:02:18 GMT
Variant error from a VB com object used in Delphi
I am getting the following error on this code that use to work in version 5
but now crashes in version 6: "...raised exception class EVariantArgError with message 'Invalid argument', procedure TMainForm.DisplayChanges(V : OleVariant); for I := 0 to P.Bounds[0].ElementCount - 1 do begin end; The com object was created in vb. V is a two dimensional Variant. any help is appreciated. thanks, |