how can i pass an array of variants to an automation server

Hi,

Does anyone know (or have an example) how I can pass a safearray of
varaints (varVariant) to an automation server? (BCB 4)

- How do I specify this parameter in the TypeLib ?
- How do I pass the pass the safearray to the OleFunction("...",array)
or Exec(..)  function
- How do I read the array correctly on the Server?

Any help apprechiated

Regards,

Erich Fink