Following your hint I create a simple project (linked sqlite3.lib and
included sqlite3.h) where I just do this:
Edit2->Text = AnsiString( sqlite3_libversion() );
I got this at compile time:
[C++ Error] sqlite3.h(1719): E2232 Constant member
'sqlite3_index_info::nConstraint' in class without constructors
[C++ Error] sqlite3.h(1719): E2232 Constant member
'sqlite3_index_info::aConstraint' in class without constructors
[C++ Error] sqlite3.h(1719): E2232 Constant member
'sqlite3_index_info::nOrderBy' in class without constructors
[C++ Error] sqlite3.h(1719): E2232 Constant member
'sqlite3_index_info::aOrderBy' in class without constructors
[C++ Error] sqlite3.h(1719): E2232 Constant member
'sqlite3_index_info::aConstraintUsage' in class without constructors
Pretty strange....
----- Original Message -----
From: "Dennis Cote" <[EMAIL PROTECTED]>
To: <sqlite-users@sqlite.org>
Sent: Tuesday, December 12, 2006 8:48 PM
Subject: Re: [sqlite] sqlite3 close() run time errors
Michele Santucci wrote:
I used borland IMPLIB import tool with -a attribute (this add the leading
underscore
for cdecl compliance). If I didn't use this flag I got linking error
about missing references...
this's a run-time error not a linker error.
Michele,
This is a problem I discovered with Borland IMPLIB. The fix I found is
described under ticket 1291 at
http://www.sqlite.org/cvstrac/tktview?tn=1291
For some reason implib doesn't generate the correct symbols when
converting directly from the dll file.
HTH
Dennis Cote
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.18/585 - Release Date:
13/12/2006 11.49
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------