Correction: I didnt delete this one ;)
Database::Database(char* filename)
{
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Solved. I found very interesting post on forum
http://marc.info/?l=sqlite-users=117751256117132=2
So... I deleted some part of code:
unit1.cpp:
// DLL handle
HANDLE DLLHandle = LoadLibrary("sqlite3.dll");
// SQLite class
Database::Database(char* filename)
{
sqlite3_open = (int (__cdecl
Thank you very much for your clarification! This is what I suspected.
Regards,
Samuel
- Original Message
From: Igor Tandetnik
a1rex wrote:
> What about void *p = sqlite3_column_blob()?
> From my tests it looks that pointer p survives sqlite3_finalize().
> Is it
- Original Message
>From: Simon Davies
>The return from sqlite3_column_text is not valid after subsequent calls to any
>of
>sqlite3_step/sqlite3_reset/sqlite3_finalize.
Yes.
What about void *p = sqlite3_column_blob()?
>From my tests it looks
>> 2010/3/6 Chimerian :
>> values.push_back((char*)sqlite3_column_text(statement,
col));
>> // HERE IS ERROR !
>From: Simon Davies
>What error?
>I can not see why THIS line should provoke any error;
This line will
produce a runtime error when sqlite3_column_text(statement,
2010/3/6 Chimerian :
> I have a problem with SQLite in BCB 4.0. I wrote my own application -
> I found very useful information on
> http://www.dreamincode.net/forums/index.php?showtopic=122300
>
> On form (Form1) I have: Memo1 and Button3.
>
> File Unit1.cpp:
>
>
.
.
.
.>
@o2.pl>
>To: sqlite-users@sqlite.org
>Sent: Mon, March 8, 2010 12:18:53 PM
>Subject: Re: [sqlite] Problem with SQLite in BCB 4
>Unfortunately I cant print the value of val before it's pushed to the
>values vector because when do that I got this same error - I think
>the problem i
Unfortunately I cant print the value of val before it's pushed to the
values vector because when do that I got this same error - I think
the problem is with pointer:
char * ptr = (char*)sqlite3_column_text(statement, col);
Maybe it hold wrong address ?
I compile this code on Borland C++ Builder 6
r...@o2.pl>
To: sqlite-users@sqlite.org
Sent: Sun, March 7, 2010 4:23:30 PM
Subject: Re: [sqlite] Problem with SQLite in BCB 4
Unfortunately it still doesn't work. I have error in line values.push_back(val);
I tried to run program on Windows XP - I have this same error.
Links to error screens:
http:
Unfortunately it still doesn't work. I have error in line values.push_back(val);
I tried to run program on Windows XP - I have this same error.
Links to error screens:
http://chimerian.net/error1.jpg
http://chimerian.net/error2.jpg
if(result == SQLITE_ROW)
12:05:51 PM
Subject: [sqlite] Problem with SQLite in BCB 4
I have a problem with SQLite in BCB 4.0. I wrote my own application -
I found very useful information on
http://www.dreamincode.net/forums/index.php?showtopic=122300
On form (Form1) I have: Memo1 and Butto
I have a problem with SQLite in BCB 4.0. I wrote my own application -
I found very useful information on
http://www.dreamincode.net/forums/index.php?showtopic=122300
On form (Form1) I have: Memo1 and Button3.
File Unit1.cpp:
12 matches
Mail list logo