Re: [sqlite] SQLITE3_OPEN returns SQLITE_NOMEM
On Mon, Mar 24, 2008 at 3:13 PM, sqlitewrote: > > Dear All, > > I have just started using the SQLite Db in my applications. My application > runs under MIPS processor. I have generated the Sqlite3.dll and Sqlite3.lib > file for the MIPS processor and it is geting compiled. When i use > Sqlit3_Open function to open a DB, it fails with the error message > SQLITE_NOMEM. But the same code is running fine in the Windows mode. How > should i rectify this? Can anyone help me in this regard. >From another mail I received privately, it seems this is related to ticket #2479 [1] In a nutshell, some WinCE devices (either customized or old devices) don't know how to convert UTF-8 to UTF-16, so the utf8ToUnicode() and unicodeToUtf8() functions must be re-implemented (either using my untested patch or any other way). Also of interest is that Win95 and early Win98 machines also lack this conversion because it's an Internet Explorer upgrade that includes this capability to the system (but as every machine badly needs those IE upgrades, it should not be a problem). If you use only the UTF-16 API then it should work (if it's the same problem). Regards, ~Nuno Lucas [1] http://www.sqlite.org/cvstrac/tktview?tn=2479 > > Thanks > Kartthi > -- > View this message in context: > http://www.nabble.com/SQLITE3_OPEN-returns-SQLITE_NOMEM-tp16254109p16254109.html > Sent from the SQLite mailing list archive at Nabble.com. > > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] SQLITE3_OPEN returns SQLITE_NOMEM
Dear Kartthi, Hope you have resolved this issue, and we have started 3.6.7 version of Sqlite and now we too got the same error. If you have already solved this and having a solution, kindly guide us so that we could get rid of this issue. Note: We are working with 3.6.1 version of sqlite and it is working fine without any problem. Regards Farzana sqlite wrote: > > Dear All, > > I have just started using the SQLite Db in my applications. My application > runs under MIPS processor. I have generated the Sqlite3.dll and > Sqlite3.lib file for the MIPS processor and it is geting compiled. When i > use Sqlit3_Open function to open a DB, it fails with the error message > SQLITE_NOMEM. But the same code is running fine in the Windows mode. How > should i rectify this? Can anyone help me in this regard. > > Thanks > Kartthi > -- View this message in context: http://www.nabble.com/SQLITE3_OPEN-returns-SQLITE_NOMEM-tp16254109p21123489.html Sent from the SQLite mailing list archive at Nabble.com. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] sqlite3_open returns SQLITE_NOMEM
On Thu, Jun 26, 2008 at 1:38 AM, Ryan Clark <[EMAIL PROTECTED]> wrote: > This is a "known" issue. > http://www.sqlite.org/cvstrac/tktview?tn=2508,6 And I had proposed a patch about a month before: http://www.sqlite.org/cvstrac/tktview?tn=2479 Regards, ~Nuno Lucas > > The fix is to include SYSGEN_CORELOC. > > Can someone mention that in the documentation somewhere? > > Ryan ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] sqlite3_open returns SQLITE_NOMEM
This is a "known" issue. http://www.sqlite.org/cvstrac/tktview?tn=2508,6 The fix is to include SYSGEN_CORELOC. Can someone mention that in the documentation somewhere? Ryan > -Original Message- > From: [EMAIL PROTECTED] [mailto:sqlite-users- > [EMAIL PROTECTED] On Behalf Of Ryan Clark > Sent: Wednesday, June 11, 2008 12:20 PM > To: 'sqlite-users@sqlite.org' > Subject: [sqlite] sqlite3_open returns SQLITE_NOMEM > > FWIW, this behavior seems similar to: > http://sqlite.org:8080/cgi-bin/mailman/private/sqlite-users/2008- > March/001419.html > http://tinyurl.com/5w5ttg > > > Ryan > > > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] sqlite3_open returns SQLITE_NOMEM
FWIW, this behavior seems similar to: http://sqlite.org:8080/cgi-bin/mailman/private/sqlite-users/2008-March/001419.html http://tinyurl.com/5w5ttg Ryan ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] sqlite3_open returns SQLITE_NOMEM
Hi, I am writing a program on Windows CE 6.0 that needs some light database use, so tried SQLITE. When I make a call to sqlite3_open(...), I get a return code of SQLITE_NOMEM. The sqlite version used is 3.5.8 in the single source file (amalgamation) My program is developed in Visual C++ 2005 with the Platform Builder for WinCE 6.0. A separate problem is that parts of the code is grayed out when opened in visual studio where it shouldn't be. i.e. not between the "#ifdef" or "#ifndef" blocks. Some places like the middle of a comment section or in the body of a function would be grayed out. This makes it hard to debug because I set a break point in my program when it calls sqlite3_open(...), and stepping into the next line jumps to a line in sqlite3.c that is totally unrelated to the function sqlite3_open(...). Has anyone encountered either of these problems? Thanks in advance, -Thomas ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] SQLITE3_OPEN returns SQLITE_NOMEM
Dear All, I have just started using the SQLite Db in my applications. My application runs under MIPS processor. I have generated the Sqlite3.dll and Sqlite3.lib file for the MIPS processor and it is geting compiled. When i use Sqlit3_Open function to open a DB, it fails with the error message SQLITE_NOMEM. But the same code is running fine in the Windows mode. How should i rectify this? Can anyone help me in this regard. Thanks Kartthi -- View this message in context: http://www.nabble.com/SQLITE3_OPEN-returns-SQLITE_NOMEM-tp16254109p16254109.html Sent from the SQLite mailing list archive at Nabble.com. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users