Thanks,
vishi
JuanCarlos wrote:
> Vishi,
>
> I know it is possible to pass user defined data types through a
> VARIANT, however my ActiveX knowledge is not profound enough to know
> how to do it.
>
> There are 2 things that I sugest you look at: first here is a link to
> a msdn document that talks about passing structures by packaging then
> in a SAFEARRAY; they don't flatten the data to chars, but they pass a
> pointer within the SAFEARRAY.
>
> http://www.microsoft.com/msj/0696/activex0696.aspx
>
> The second thing to look at is at VARIANTARG, I'm not very familiar
> with this but I believe this structure allows you to pass a pointer to
> any user defined data as a VARIANT.
>
> I hope this advice can help you.
>
> Regards,
>
> Juan Carlos
> N.I.