Re: [sqlite] Re: sqlite_encode_binary problems

2004-01-03 Thread eno
Hi Rob, >> size_t size = load_file->Length(); >> >> char in[size]; >> unsigned long nLoadSize = load_file->Read((void *)in, size); >> unsigned char out[2 +(257*nLoadSize)/254]; >> sqlite_encode_binary((const unsigned char*)in, 257*nLoadSize)/254, >> (unsigned char*)out); > > > This is actually re

[sqlite] Re: sqlite_encode_binary problems

2004-01-03 Thread Rob Laveaux
On 3-jan-04, at 23:29, John Scott <[EMAIL PROTECTED]> wrote: I want to use sqlite_encode_binary to encode zip files into sqlite databse. But somehow I don't get the wanted result of this procedure. Can someone tell me where i made a mistake?? Encoding: wxFFile *load_file = new wxFFile(); load_f