Board index » delphi » Passing a string array to an Automation Object

Passing a string array to an Automation Object

I apologize right now if this is a dumb question, but I'm new to
automation and I just can't seem to make any progress on this.

I have a VBA script that populates a string array which I then need to
pass via a property to an automation object I'm writing in Delphi 5.

Can someone give me a code example of how I would define this property
in my automation object please?

Thanks for any help.

 

Re:Passing a string array to an Automation Object


Define it in the D5 type library as a generic Variant. Variant array of
variant is the only kind of array VBA can handle.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

"Tadeusz F Letocha" <t...@letocha.demon.co.uk> wrote in message
news:qb3v6vcm9vvpo1d4k2jk38vh5icp8ik9vc@4ax.com...

Quote
> I apologize right now if this is a dumb question, but I'm new to
> automation and I just can't seem to make any progress on this.

> I have a VBA script that populates a string array which I then need to
> pass via a property to an automation object I'm writing in Delphi 5.

> Can someone give me a code example of how I would define this property
> in my automation object please?

> Thanks for any help.

Other Threads