Hi Phil Assigning the OleVariant to a variable of type "Variant" should convert it automatically. Then you can just use TVarData to determing if you're dealing with an array.
Todd. ----- Original Message ----- From: "Phil Middlemiss" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Thursday, August 07, 2003 1:07 PM Subject: [DUG]: OleVairant array > I'm attempting to send a Variant array (received as an "Array of const") > through an OLE server interface as an OleVariant. Two questions: > > 1) Does a variant array convert happily to an OLEVariant? > > 2) If so, how do I cast it back to a variant array at the other end? > > Cheers, > Phil. > > > -------------------------------------------------------------------------- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
