Hi,
The following code throws an exception when reaching "LoadFromStream":
Stream := TFileStream.Create ('C:\temp\testSmall.xml', fmOpenRead);
with OraSQL4 do begin
with Params.ParamByName('XML_XMLCODE').AsXML do begin
OCISvcCtx := OraSession1.OCISvcCtx;
LoadFromStream (Stream); <- throws Exception!
end;
Execute;
end;
The Same File being loaded via something like Memo1.Lines.LoadFromStream shows perfectly in the Memo... and the XML ist valid.
Using the property AsString to fill the param seems to work, but I would rather use the Stream...
Any idea?
Working with the demoversion and D7 on win2k
Thanks!