var SomeVariable : OleVariant;
...
SomeVariable:=OleVariant((Webbrowser1.Document as
IHTMLDocument2).ParentWindow.Document).Variablename;



On 29 April 2010 17:29, Rob Kennedy <rkenn...@cs.wisc.edu> wrote:
> Rainer von Saleski wrote:
>>
>> Thanks for the suggestions and the code snippet.
>>
>> What unit(s) do I need to include for IPersistStreamInit amd Istream?
>> Delphi 7 seems helpless here.
>
> A search of the Delphi source-code directory indicates that
> IPersistStreamInit is declared in the ActiveX unit. (Ignore the class by
> that name in the OleCtl unit.) Likewise for IStream. (Likewise for the class
> in Ole2.pas.)
>
> When you want to know where something is declared, search the code. I like
> to use grep at the command line. GExperts has a good search tool in the IDE.
>
> --
> Rob
> _______________________________________________
> Delphi mailing list
> Delphi@elists.org
> http://lists.elists.org/cgi-bin/mailman/listinfo/delphi
>
_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to