AW: VDataBase_IsOpen( gDBRef ) fails

Tiemo Hollmann TB toolbook at kestner.de
Tue Dec 15 03:39:06 CST 2009


Hello,

after having removed the if clause, now the function error appears at the
first Valentina statement " get Valentina_Init( foo )" at my test customer

Could it not be that the Valentina driver isn't loaded successfully? But if
yes, why only on some machines and what can I do?

Thanks 
Tiemo



> 
> if (not VDataBase_IsOpen( gDBRef ) ) then		
>    get Valentina_Init( foo )
>    put VDatabase_Constructor() into gDBRef
>    get VDataBase_SQLExecute( gDBRef,"SET PROPERTY WarningMode TO FALSE")
>    get VDatabase_UseEncryptionKey( gDBRef, foo, "kStructureAndRecords"  )
>    get VDatabase_Open( gDBRef, tDbPath )
>    get VDatabase_DateFormat( gDBRef, "kYMD" )
>    get VDatabase_DateSep( gDBRef, "." )
>    if the platform = "MacOS" then
>       get VDatabase_IOEncoding( gDBRef, "Macintosh" )
>    else
>       get VDatabase_IOEncoding( gDBRef, "Latin1" )
>    end if
>    get VDataBase_SQLExecute( gDBRef, "REINDEX DATABASE" )	
> end if
> 



More information about the Valentina mailing list