Hi all.

Im having some trouble type-converting OleVariants (OleDeviants would
probably be more correct).

I have an OleVariant reference which i know points to a IStream object.  How
can I convert this to a variable of IStream?

i.e.

var
  ref1 : OleVariant;
  ref2 : IStream;
begin
  ref2 := IStream (ref1); // doesnt work
end;


Thanks in advance,

Wilfred.
---------------------------------------------------------------------------
    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"

Reply via email to