Trying with ValentinaDB for C++

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Fri Jan 13 01:38:19 CST 2012


On 1/12/12 6:14 PM, "Cam Vi Luong" <camviluong at yahoo.com> wrote:

> Hello ValentinaDB,
> 
> My Code is:
> ValentinaInit(4 * 1024 * 1024);
> 
> ------------------------------------------------------------------------------
> --------------------------
> VSQL::I_SqlDatabase_Ptr pSqlDb = CreateSqlDatabase(kStorage_Disk);
> FBL::I_Database_Ptr pFblDb = pSqlDb->get_BaseDatabase();
> 
> pFblDb->Create();
> pFblDb->Close();
> 
> ValentinaShutDown();
> ------------------------------------------------------------------------------
> --------------------------
> My Error is "Unhandled exception at 0x535094bc in
> Test_Create_Database_Console.exe: 0xC0000005: Access violation reading
> location 0x00000000."
> 
> Is there I missing somethings? Please help me!

First of all I see that you have not specify  Location of files on disk
before Create()


Cam,

You have told me that you was able to run Examples of VSDK-64
Right ?

Then you must be able easy see steps in debugger what example do ..




-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list