[fpc-pascal]What does this mean?
Michael Van Canneyt
michael.vancanneyt at wisa.be
Tue Jan 20 11:18:03 CET 2004
On Tue, 20 Jan 2004, Holger Peters wrote:
> Hi,
>
> I tried to compile this program:
>
> {$MODE OBJFPC}
> program
> DomTest3;
> uses
> DOM,
> xmlread,
> Classes;
> var
> MyXMLStructure : TXMLDocument;
> MyFile : TFileStream;
>
>
>
> begin
> MyFile.Create('test.xml',fmopenread);
This is wrong. It should be
MyFile:=TfileStream..Create('test.xml',fmopenread);
It explains the access violation.
Michael.
More information about the fpc-pascal
mailing list