Re: [sqlite] sqlite3 close() run time errors

2006-12-13 Thread Dennis Cote
Michele Santucci wrote: 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

Re: [sqlite] sqlite3 close() run time errors

2006-12-13 Thread Michele Santucci
Maybe it is but it's hard to find the way to generate a suitable sqlite3.lib then. - Original Message - From: "Roberto" <[EMAIL PROTECTED]> To: <sqlite-users@sqlite.org> Sent: Tuesday, December 12, 2006 1:49 PM Subject: Re: [sqlite] sqlite3 close() run time

Re: [sqlite] sqlite3 close() run time errors

2006-12-13 Thread Michele Santucci
qlite-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 lin

Re: [sqlite] sqlite3 close() run time errors

2006-12-12 Thread Dennis Cote
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

Re: [sqlite] sqlite3 close() run time errors

2006-12-12 Thread Roberto
On 12/12/06, Michele Santucci <[EMAIL PROTECTED]> wrote: this's a run-time error not a linker error. It's a runtime error cos it is linked incorrectly! Specify the sqlite.def file (which IIRC lists the undecorated aliases of the sqlite functions) as an option to the command line of implib.

Re: [sqlite] sqlite3 close() run time errors

2006-12-12 Thread Trevor Talbot
On 12/12/06, Michele Santucci <[EMAIL PROTECTED]> wrote: this's a run-time error not a linker error. It sounds like a load time error. If that's the case, and it is the Windows loader, then your import tool did not do translation correctly: it's looking for the literal name "_sqlite3_open"

Re: [sqlite] sqlite3 close() run time errors

2006-12-12 Thread Michele Santucci
06 3:55 PM Subject: Re: [sqlite] sqlite3 close() run time errors Michele Santucci schrieb: Hello, I'm trying to use sqlite3 into a CVI (National Itruments ANSI C dev tool). I took the last sqlite3 dll and source. I create the .lib file linked it to the binary and included the sqlite3.h fi

Re: [sqlite] sqlite3 close() run time errors

2006-12-12 Thread Michele Santucci
AIL PROTECTED]> To: <sqlite-users@sqlite.org> Sent: Monday, December 11, 2006 3:59 PM Subject: Re: [sqlite] sqlite3 close() run time errors You are probably linking against exports with a leading underscore. (The exports of sqlite3.dll don't have the _underscore). Does your dev environment/

Re: [sqlite] sqlite3 close() run time errors

2006-12-11 Thread Roberto
You are probably linking against exports with a leading underscore. (The exports of sqlite3.dll don't have the _underscore). Does your dev environment/linker have the option to disable this underscore generation? On 11/12/06, Michele Santucci <[EMAIL PROTECTED]> wrote: Hello, I'm trying to use

Re: [sqlite] sqlite3 close() run time errors

2006-12-11 Thread Marten Feldtmann
Michele Santucci schrieb: Hello, I'm trying to use sqlite3 into a CVI (National Itruments ANSI C dev tool). I took the last sqlite3 dll and source. I create the .lib file linked it to the binary and included the sqlite3.h file... but as long as I start the application I got an error about a

[sqlite] sqlite3 close() run time errors

2006-12-11 Thread Michele Santucci
Hello, I'm trying to use sqlite3 into a CVI (National Itruments ANSI C dev tool). I took the last sqlite3 dll and source. I create the .lib file linked it to the binary and included the sqlite3.h file... but as long as I start the application I got an error about a missing entry point of the