VAdatabse initialization crash

Stan Busk maxprog at mac.com
Thu Nov 24 16:29:26 CST 2005


Hi,

The following crashes:

Dim vdb as vDatabase
vdb = new vDataBase()
vdb.open( inFile )      <-Crash here

bur the following works:

Dim vdb as vDatabase
vdb = new vDataBase( EVStorageType.kDisk )
vdb.open( inFile )

However in the doc I have read that if no parameter is passed to the  
VDatabase constructor, the default is EVStorageType.kDisk. Seems that  
or the doc is not correct or the function has a bug because the  
function returns nil if no parameter is passed.

~/Stan



More information about the Valentina mailing list