Hi Omar, 

Just use NIL and make sure you free the instance.

i.e.  xmlDocRead:= TXMLDocument.Create(nil);

cheers,
JED

On 8/29/05, Omar Bennani <[EMAIL PROTECTED]> wrote:
> Hi
> I'm developing an application console (a CGI) and I
> want to open and modify a XML file, but I can't open
> my XML file using TXMLDocument:
> xmlDocRead.LoadFromFile('base.xml');
> I think the reason is I have to use:
> xmlDocRead:= TXMLDocument.Create(AOwner);
> with AOwner is a TComponent and I don't have a
> TComponent in my console application
> what can I do?
> 
> 
> 
> 
> 
> 
> ___________________________________________________________________________
> 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
>
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to