Link to home
Start Free TrialLog in
Avatar of nalonga
nalonga

asked on

Delphi: Read a array of strings in a OleVariant

Hello,

I have a interfaced object and a function like this:

function InvokeCommand(trackingID: Integer; const name: WideString;
                           const stringParam: WideString; datasetParam: OleVariant): HResult; stdcall;

I need to read values in datasetParam...

How can i do that?
ASKER CERTIFIED SOLUTION
Avatar of jimyX
jimyX

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nalonga
nalonga

ASKER

Thanks!!! It works!

About that, how can inverse?

Now i need to create a array of strings, put some information inside and convert it to oleVariant...
Here is an example.
Avatar of nalonga

ASKER

Beautful!!!