RE: [sqlite] sqlite and borland c++ builder

2007-04-30 Thread Jonathan Kahn
Thanks for the response, people have generously sent me file that work and I'm up and running! Thanks - Jon -Original Message- From: Dennis Cote [mailto:[EMAIL PROTECTED] Sent: Monday, April 30, 2007 10:31 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] sqlite and borland c

Re: [sqlite] sqlite and borland c++ builder

2007-04-30 Thread Dennis Cote
Jonathan Kahn wrote: When I try to use the header I get errors [C++ Error] sqlite3.h(1778): E2232 Constant member 'sqlite3_index_info::nConstraint' in class without constructors Jonathan, This is indeed a bug in the Borland/CodeGear compiler. It has been discussed on their

RE: [sqlite] sqlite and borland c++ builder

2007-04-29 Thread Jonathan Kahn
, - Jon -Original Message- From: John Stanton [mailto:[EMAIL PROTECTED] Sent: Sunday, April 29, 2007 12:31 PM To: sqlite-users@sqlite.org Subject: Re: [sqlite] sqlite and borland c++ builder Why not use gcc to compile your library, or use a precompiled DLL? Jonathan Kahn wrote: > Hi Ul

Re: [sqlite] sqlite and borland c++ builder

2007-04-29 Thread John Stanton
: Sunday, April 29, 2007 2:29 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] sqlite and borland c++ builder Hi Jon, is it not an option to build SQLite with a C compiler, then call it from within C++? Regards, Ulrik Petersen Jonathan Kahn wrote: Even when I try to build a new dll I get

RE: [sqlite] sqlite and borland c++ builder

2007-04-29 Thread Jonathan Kahn
k others have posted receiving that error but I'm not sure there were any resolutions..Any ideas on this note? Thanks - Jon -Original Message- From: Ulrik Petersen [mailto:[EMAIL PROTECTED] Sent: Sunday, April 29, 2007 2:53 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] sqlite and bo

Re: [sqlite] sqlite and borland c++ builder

2007-04-29 Thread Ulrik Petersen
b *', no matter what route I take I always hit a bump. I'm just trying anything at this point - Jon -Original Message- From: Joe Wilson [mailto:[EMAIL PROTECTED] Sent: Sunday, April 29, 2007 1:59 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] sqlite and borland c++ bu

RE: [sqlite] sqlite and borland c++ builder

2007-04-29 Thread Jonathan Kahn
PROTECTED] Sent: Sunday, April 29, 2007 2:12 AM To: sqlite-users@sqlite.org Subject: RE: [sqlite] sqlite and borland c++ builder --- Jonathan Kahn <[EMAIL PROTECTED]> wrote: > I really appreciate your response. What do you suggest I do? Is there > something else I need to include aside f

RE: [sqlite] sqlite and borland c++ builder

2007-04-29 Thread Jonathan Kahn
I take I always hit > a bump. I'm just trying anything at this point > > - Jon > > -Original Message- > From: Joe Wilson [mailto:[EMAIL PROTECTED] > Sent: Sunday, April 29, 2007 1:59 AM > To: sqlite-users@sqlite.org > Subject: Re: [sqlite] sqlite and borland c++

Re: [sqlite] sqlite and borland c++ builder

2007-04-29 Thread Ulrik Petersen
a bump. I'm just trying anything at this point - Jon -Original Message- From: Joe Wilson [mailto:[EMAIL PROTECTED] Sent: Sunday, April 29, 2007 1:59 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] sqlite and borland c++ builder I wrote too quickly - sqlite3.h correctly uses

RE: [sqlite] sqlite and borland c++ builder

2007-04-29 Thread Joe Wilson
--- Jonathan Kahn <[EMAIL PROTECTED]> wrote: > I really appreciate your response. What do you suggest I do? Is there > something else I need to include aside from sqlite3.lib? I am willing to > try anything. I only use GNU C++, so I can't help you with .lib files. I'd suggest to compile

RE: [sqlite] sqlite and borland c++ builder

2007-04-29 Thread Jonathan Kahn
29, 2007 1:59 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] sqlite and borland c++ builder I wrote too quickly - sqlite3.h correctly uses __cplusplus for extern "C". But the almalgomated sqlite3.c cannot be compiled from a C++ compiler for the reasons described below. ---

RE: [sqlite] sqlite and borland c++ builder

2007-04-29 Thread Jonathan Kahn
To: sqlite-users@sqlite.org Subject: Re: [sqlite] sqlite and borland c++ builder I wrote too quickly - sqlite3.h correctly uses __cplusplus for extern "C". But the almalgomated sqlite3.c cannot be compiled from a C++ compiler for the reasons described below. --- Joe Wilson <[EMAIL PROT

Re: [sqlite] sqlite and borland c++ builder

2007-04-28 Thread Joe Wilson
I wrote too quickly - sqlite3.h correctly uses __cplusplus for extern "C". But the almalgomated sqlite3.c cannot be compiled from a C++ compiler for the reasons described below. --- Joe Wilson <[EMAIL PROTECTED]> wrote: > > When I try to use the header I get errors > > > > [C++ Error]

Re: [sqlite] sqlite and borland c++ builder

2007-04-28 Thread Joe Wilson
> When I try to use the header I get errors > > [C++ Error] sqlite3.h(1778): E2232 Constant member > 'sqlite3_index_info::nConstraint' in class without constructors It appears it is trying to compile the sqlite header file as if it were C++. Lemme guess - you're using the almalgomated

Re: [sqlite] sqlite with borland c builder

2004-04-01 Thread Nuno Lucas
Make sure you compile the dll (if you are compiling a dll, offcourse) with the C calling convention. I'm not sure now, but if I remember correctly that is not the default for the Borland compiler. Other cause could be not linking with the import library, but that is basic. Just my two cents. I

Re: [sqlite] sqlite with borland c builder

2004-04-01 Thread Nuno Lucas
Make sure you compile the dll (if you are compiling a dll, offcourse) with the C calling convention. I'm not sure now, but if I remember correctly that is not the default for the Borland compiler. Other cause could be not linking with the import library, but that is basic. Just my two cents. I