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
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
,
- 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
: 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
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
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
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
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++
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
--- 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
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.
---
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
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]
> 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
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
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
16 matches
Mail list logo