Pass a structure to an ActiveX library

Pass a structure to an ActiveX library

Post by Pete Stove » Thu, 14 Oct 2004 22:59:58

I've got several remote datasets residing in an ActiveX library dll.

I would like to be able to create and 'Edit' function, whereas is pass a
certain structure containing modified field values. The function in the
middleware library then sort out the changes etc and writes to varios

I have found out that I cannot directly pass a delphi struct to such a
routine, and I think I need to use a variant array ?

I cannot however, though I have searched find a definate way or
description of how to do this. I'm very new to ActiveX or COM technology
and am completely stuck.

I'd be grateful for a few pointers.

Many thanks