LoadDump and Windows

Leo Van den Brande leo_van_den_brande at wxs.nl
Sun Dec 12 19:19:31 CST 2004


Hi Ruslan,

< DoXMLLoad

<      Vdatabase

<    db = new Vdatabase()
<    db.LoadDump( path )

<    db.Close()
<end

I am very confused now!

- .db.LoadDump( path ) does not compile (wants two arguments). Not 
with folderitem, nor with f.Absolute path of xml file.

-  If I use, with Vdatabase

db.LoadDump(f,f1,2)

in which f is folderitem of xml file - looking good, apparenty no loss 
of newlines - and f1 is folderitem (containing the path with new 
filename) for the new database, nothing happens, but also no error occurs.

- Only with  dim db as Valdb (my own subclass) and then do LoadDump, 
it works on the Mac: I get a well working database with all the data.

- Not so in project compiled for Windows. Nothing happens but no error 
message..

I must be making a stupid mistake! Please enlighten me. Thanks,

Leo

-- 
Leo Van den Brande
J.Buziaulaan 61
3584 ZT Utrecht
Tel: (+31)-30-2511767



More information about the Valentina mailing list