Board index » delphi » How to pass arrays to ActiveX controls?
rjo...@uplinkgolf.com
![]() Delphi Developer |
Wed, 03 Oct 2001 03:00:00 GMT
How to pass arrays to ActiveX controls?
I am trying to use a function of an ActiveX control that takes an array as
parameter (via an OleVariant) as follows: procedure PutItems(var Items: OleVariant; var Index: OleVariant); The documentation for the control says that Items must be either a 1- Here's a sample of some of my test code: procedure TForm1.Button1Click(Sender: TObject); // 1-dimensional array PutItems gives access violation Is there another way I should be creating my strings or assigning them to the Thanks, -----------== Posted via Deja News, The Discussion Network ==---------- |