something wrong?
Thanks in advance,
Kiril.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Yes it is working.
On 02/08/06, Martin Jenkins <[EMAIL PROTECTED]> wrote:
Ignore that, I wasn't thinking C++ :(
Does the CppSQLite demo work on your machine?
Martin
> Kiril Dzolev wrote:
>
> You're calling blobGet(), but blobGet is an unitialised variable of
Yes you are absolutly right in both cases. This is off topic and the problem
is only in passing the lengthBLOB
Thanks for the help.
Kiril
This is completely off topic, it is a simple programming error, I am sure.
Your lengthBLOB outside of the function is fishy, you didn't show even
ho
Are you using pBufferOut later in main()? I think you can't pass a pointer
to a member object because that object is invalid outside your function,
unless ofcourse if the object isn't responsible for cleanup.
Merijn
Yes I am using pBufferOut and lengthBLOB later
There is no warning. But as I can see the problem is here
If erase this line
lengthBLOB=blobGet.getBinaryLength();
end just print it like
cout<<"Retrieved binary Length: "< wrote:
Kiril Dzolev wrote:
You're calling blobGet(), but blobGet is an unitialised variable o
This is not realy for this forum, but maybe somebody can tell me what I am
doing wrong. I am using CppSQLite wrapper.
Code 1 : With this code "Segmentation fault"
const unsigned char* putBLOBInBinary(CppSQLite3DB &db, int &lengthBLOB) {
CppSQLite3Query q;
CppSQLite3Binary blobGet;
q=db
, on the first row.
I am sorry for this basic questions, but I am really new at this.
Thank you,
Kiril
On 24/07/06, Nuno Lucas <[EMAIL PROTECTED]> wrote:
Just "bind" your data using prepared statements.
You can pass null characters inside.
Another option is to use the X'
... I need to read the
binary data and change it (write binary data). I am using C++ for executing
those commands.
Sorry for my English and thanks a lot,
Kiril
8 matches
Mail list logo