<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello ValentinaDB,<br><br>I have trying ValentinaDB for C++, I have create a console win32 application and pass a simple code to create a database (the code is below). But when I run the app, I have found and error when I call "Close" function is FBL::I_Database_Ptr (I have tried both in Visual Studio 2008 and Visual Studio 2010). <br><br>The error code is: "Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call.  This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention."<br><br>Help me! Please<br><br>Best regards,<br>Thank you very much!<br><br>-------------------------------------------<br>This is My Code<br><br>ValentinaInit(4 * 1024 * 1024);<br><br>VSQL::I_SqlDatabase_Ptr pSqlDb =
 CreateSqlDatabase(kStorage_Disk);<br>FBL::I_Database_Ptr pFblDb = pSqlDb->get_BaseDatabase();<br><br>I_Location_Ptr pLocation = CreateDiskLocation("D:\\Data\\Valentina\\test_db");<br>pFblDb->put_Location( pLocation );        <br>pFblDb->Close();<br><br>ValentinaShutDown();<br><br></td></tr></table>