RE: [sqlite] sqlite3_open16 with unicode string
Hi all, I just wanted to let you know that when updating the sources, the problem wad solved! ++ Benoît Gantaume R Manager. DMAILER 15 av. Frederic Mistral 13008 Marseille, France Bureau: +33 4 91 29 32 80 Fax : +33 4 91 76 39 27 Email : [EMAIL PROTECTED] Web: http://www.dmailer.com -Original Message- From: Benoit Gantaume [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 5:42 PM To: sqlite-users@sqlite.org Subject: [sqlite] sqlite3_open16 with unicode string Hi all, I have a little problem when trying to open database that contain Unicode caracters: Here is a small sample: wstring lPath = L"c:\\\x4ECA\x6708 database.db"; DWORD lReturn = sqlite3_open16((void *)lPath.c_str (), >cdb); This works correctly, but the problem is that the database name created is not correct: I get something like: [今月 database.db] instead of [今月database.db] I guess that I have a problem a string encoding, but I can not find any solution. I have also tried to use sqlite3_open with encoding the name UTF8, but I get exactly the same result. Can anyone help? Thanks a lot Benoît Gantaume R Manager. DMAILER
[sqlite] sqlite3_open16 with unicode string
Hi all, I have a little problem when trying to open database that contain Unicode caracters: Here is a small sample: wstring lPath = L"c:\\\x4ECA\x6708 database.db"; DWORD lReturn = sqlite3_open16((void *)lPath.c_str (), >cdb); This works correctly, but the problem is that the database name created is not correct: I get something like: [今月 database.db] instead of [今月database.db] I guess that I have a problem a string encoding, but I can not find any solution. I have also tried to use sqlite3_open with encoding the name UTF8, but I get exactly the same result. Can anyone help? Thanks a lot Benoît Gantaume R Manager. DMAILER
[sqlite] Delete a database file
Hi, Here is my pb: I just want to suppress a database file. But it's impossible to do it from the procees that created or opened the database even if i closed it! I guess that I do not close properly the database. The only way to be able to remove the file is to close the process that used the database... Do you have some tip? Thx Regards __ Benoit GantaumeDmailer vous facilite la gestion de linformation. Phone :Fax :Email : +33 (0) 4 91 29 32 81+33 (0) 4 91 76 39 27[EMAIL PROTECTED] DISCLAIMER:The integrity of this message cannot be guaranteed on the Internet. Dmailer cannot therefore be held responsible for the contents of this e-mail. This e-mail may contain proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Dmailer Ce message et toutes les pièces jointes sont confidentiels et établis à lintention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible daltération. Dmailer décline toute responsabilité au titre de ce message sil a été altéré, déformé, falsifié ou encore diffusé sans autorisation.
[sqlite] Database Full!
Hi, I am trying to handle a problem that occurs when the disk is full: when i try to insert, that return SQLITE_FULL. Ok. There is not problem to get some elements from the database. Then I try to remove some elements... But that returns SQLITE_BUSY! I have tryed to stop all operation with: sqlite_interrupt(this->cdb); But it seems to have no effect! How can I free the database so that I can remove some elements from it? Thanks. __ Benoit GantaumeDmailer vous facilite la gestion de linformation. Phone :Fax :Email : +33 (0) 4 91 29 32 81+33 (0) 4 91 76 39 27[EMAIL PROTECTED] DISCLAIMER:The integrity of this message cannot be guaranteed on the Internet. Dmailer cannot therefore be held responsible for the contents of this e-mail. This e-mail may contain proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Dmailer Ce message et toutes les pièces jointes sont confidentiels et établis à lintention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible daltération. Dmailer décline toute responsabilité au titre de ce message sil a été altéré, déformé, falsifié ou encore diffusé sans autorisation.