[V4MD] Loaddump and error 2

Steven Ophalvens silversoft at skynet.be
Wed Oct 1 14:57:34 CDT 2003


> But as I understand you HAVE db and you want make its dump, yes?

I allready had my Dump made, so I have a nice XML file :)

> Then you need at first call Dump(),
> This will make for you XML file

> Then you need close your db,
> Kill its instance
> Create new instance
> And then only

>    LoadDump( newDB, ... )

I got somewhat further now, but now the error I get is error 8
I changed my code to this :

-------------------------------
-------------------------------
on LoadDumpvDB


  ValentinaInit(4 * 1024 * 1024, MacValSerial, WinValSerial)
  ValentinaDebugLevel(2)

  lValDB = new(xtra "VDataBase")
  lValDB.setStructureEncryption(mCreateDatabasePWD())

  LoadDump(lValDB, the moviepath & "rdkVDBDump.xml",the moviepath &
"rkvdb_new.vdb",2)

end LoadDumpvDB
-------------------------------
-------------------------------

My output is :

* V4MD *: InitValentina...done
* V4MD *: ValentinaSetDebugMode...done
* V4MD *: new VDatabase...* V4MD *: new VDatabase...done
* V4MD *: DB_SetStructureEncryption...done
* V4MD *: DB_LoadDump...error 8
* V4MD *: VDatabase_Destroy
...

Any Ideas?

--
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------

_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina




More information about the Valentina mailing list