--- Rob Kennedy <[EMAIL PROTECTED]> a écrit :
> Omar Bennani wrote:
> > This is very important when using TXMLDocument.
> You
> > CANNOT create a
> > TXMLDocument like this:
> >
> > myXML:=TXMLDocument.Create(nil);
> >
> > It will instantiate but it will NOT work.
> >
> > Here's what I did to fix it...
> >
> > dm:=TDataModule.Create(nil);
> > myXML:=TXMLDocument.Create(dm);
>
> Does TXMLDocument's owner need to be a data module?
> Could it be
> something else, like just a plain TComponent? What's
> special about
> TXMLDocument that it needs to have an owner?
>
> --
> Rob
Hi
yes you can use TComponent instead of TDataModule (I
try it an d it works) but I don't know why
TXMLDocument must an owner it's another stupidity
from delphi
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi