Re: [sqlite] problem of creation of a data base

2005-07-28 Thread LURKIN Denis
Thank you for your assistance, all functions very well thanks to you! I had to add: extern "C" { #include "os.h" } Excuse me if I have a little difficulties of understanding, I am newbie with Sqlite. Yours sincerely, Denis Lurkin.

Re: [sqlite] problem of creation of a data base

2005-07-28 Thread Gerald Dachs
> I tested with: > > extern "C" > { > #include > } > > but I always have the following error: > > ZeroLink: unknown symbol '__Z21sqlite3OsFullPathnamePKc' > > What to make? I have expected that the definition is in sqlite3.h, what is not the case. Try it with "os.h". Anway, I believe that

Re: [sqlite] problem of creation of a data base

2005-07-28 Thread Gerald Dachs
> I added: > > extern "C" > { > #include > } I wrote this in the moment when the loudspeakers at the walls told us all to leave the building, because of a technical problem. > and I have a problem of compilation: > > sqlite.h: No such file or directory > > > I tested with: > > extern "C" > { >

Re: [sqlite] problem of creation of a data base

2005-07-28 Thread LURKIN Denis
I added: extern "C" { #include } and I have a problem of compilation: sqlite.h: No such file or directory I tested with: extern "C" { #include } but I always have the following error: ZeroLink: unknown symbol '__Z21sqlite3OsFullPathnamePKc' What to make? Thank you. Denis Lurkin.

Re: [sqlite] problem of creation of a data base

2005-07-28 Thread Gerald Dachs
> Hello, > > I receive this error: > > ZeroLink: unknown symbol '__Z21sqlite3OsFullPathnamePKc' > > Why? name mangling, use: extern "C" { #include } Gerald

[sqlite] problem of creation of a data base

2005-07-28 Thread LURKIN Denis
Hello, I created a new project to which I included all the source files SQLITE 3.2.2 I have make a class DATABASE in which I created a method to create the base of data. int SqliteDatabase::create(const char *DbName) { int readOnly = 0; int rc = 0; char *zFullPathname =