Re: [sqlite] Problem with sqlite3prepare16_v2

2013-01-06 Thread Yuriy Kaminskiy
Igor Tandetnik wrote: > On 1/6/2013 7:10 PM, Walter wrote: >>sqlite3_prepare16_v2 (vMdb, ws.c_str (), ws.size (), , ); > > The third parameter of sqlite3_prepare16_v2 is the length of the string > *in bytes*, not in characters. You are effectively passing only half the > statement. Besides,

Re: [sqlite] Problem with sqlite3prepare16_v2

2013-01-06 Thread Igor Tandetnik
On 1/6/2013 7:10 PM, Walter wrote: sqlite3_prepare16_v2 (vMdb, ws.c_str (), ws.size (), , ); The third parameter of sqlite3_prepare16_v2 is the length of the string *in bytes*, not in characters. You are effectively passing only half the statement. -- Igor Tandetnik

[sqlite] Problem with sqlite3prepare16_v2

2013-01-06 Thread Walter
Hi All If I do this std::string ss= "PRAGMA main.user_version"; sqlite3_stmt* stmt; const char *tail; sqlite3_prepare_v2 (vMdb, ss.c_str (), ss.size (), , ); alls well step and retrieve user version However when I do this std::wstring ws= L"PRAGMA main.user_version";

Re: [sqlite] sqlite3.dll missing, HELP please :)

2013-01-06 Thread Tim Streater
On 06 Jan 2013 at 22:41, Simon Slavin wrote: > On 6 Jan 2013, at 7:39pm, Tim Streater wrote: > >> On 06 Jan 2013 at 17:11, Simon Slavin wrote: >> >>> On 6 Jan 2013, at 5:09pm, Richard Hipp wrote: >>> I

[sqlite] Exception when querying a range index

2013-01-06 Thread St. B.
Hi All, I have an application using sqlite to store coast lines (application runs on windows and uses the .Net version of sqlite v1.0.83). I use range indexes to look-up coast line within range of a given point. During run time I find that the following exception occurs. vtable constructor

Re: [sqlite] sqlite3.dll missing, HELP please :)

2013-01-06 Thread Simon Slavin
On 6 Jan 2013, at 7:39pm, Tim Streater wrote: > On 06 Jan 2013 at 17:11, Simon Slavin wrote: > >> On 6 Jan 2013, at 5:09pm, Richard Hipp wrote: >> >>> I am a Windows VISTA Home Basic 2007 user who needs some help, please. >>>

Re: [sqlite] sqlite3.dll missing, HELP please :)

2013-01-06 Thread Tim Streater
On 06 Jan 2013 at 17:11, Simon Slavin wrote: > On 6 Jan 2013, at 5:09pm, Richard Hipp wrote: > >> I am a Windows VISTA Home Basic 2007 user who needs some help, please. >> Every time I turn on my PC, Windows tells me the SQLITE3.DLL file is >> missing. >

Re: [sqlite] sqlite3.dll missing, HELP please :)

2013-01-06 Thread Simon Slavin
On 6 Jan 2013, at 5:09pm, Richard Hipp wrote: > I am a Windows VISTA Home Basic 2007 user who needs some help, please. > Every time I turn on my PC, Windows tells me the SQLITE3.DLL file is > missing. If you have iTunes or QuickTime installed, please reinstall it. Simon.

[sqlite] Fwd: sqlite3.dll missing, HELP please :)

2013-01-06 Thread Richard Hipp
-- Forwarded message -- From: Antonella Pepe Date: Sun, Jan 6, 2013 at 8:53 AM Subject: sqlite3.dll missing, HELP please :) To: "d...@hwaci.com" Hi, I am a Windows VISTA Home Basic 2007 user who needs some help, please. Every time I

Re: [sqlite] Don't passes next tests on FreeBSD: atof1-*

2013-01-06 Thread Pavel Volkov
Hello. This is the output of: #define _LONGLONG 1 #define __CHAR_BIT__ 8 #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 #define __DBL_DIG__ 15 #define __DBL_EPSILON__ 2.2204460492503131e-16 #define __DBL_HAS_DENORM__ 1 #define __DBL_HAS_INFINITY__ 1 #define __DBL_HAS_QUIET_NAN__ 1 #define