Re: [sqlite] sqlite3_prepare_v2

2009-12-25 Thread Dr. Robert N. Cleaves
Thank you very much for your help. The problem was in iTUNES. I removed it and 
no more problem. I then downloaded a new free version and the problem was 
solved.

Dr. Robert N. Cleaves


-Original Message-
From: Kees Nuyt [mailto:k.n...@zonnet.nl] 
Sent: Wednesday, December 23, 2009 3:19 PM
To: Dr. Robert N. Cleaves
Cc: sqlite-users@sqlite.org
Subject: Re: [sqlite] sqlite3_prepare_v2

On Wed, 23 Dec 2009 16:50:08 -0500, "D. Richard Hipp"
 wrote:

>
>On Dec 23, 2009, at 4:12 PM, Dr. Robert N. Cleaves wrote:
>
>> Dear Sir:
>>
>> On startup, I get a message that the procedure entry point  
>> sqlite3_prepare_v2 is missing from the dynamic link library  
>> SQLite3.dll. How can I download the missing item?
>>
>> Thank you…
>
>I'm guessing you are running windows.  Probably you have two or more  
>applications installed that use SQLite.  (Candidates applications  
>include Skype, Google Gears, Firefox, McAfee Antivirus, Adobe  
>Acroread, Adobe Photoshop, iTunes, DropBox, and many others.)   
>Probably when one of these applications was installing itself, it  
>overwrote the system SQLite3.dll with an older version that does not  
>support the sqlite3_prepare_v2() interface.  Then when one of the  
>other applications that needs the new interface tries to run, it gets  
>the older DLL that lacks the necessary entry point.
>
>I beg and plead with application vendors to statically link against  
>SQLite to avoid this kind of problem, but nobody listens to me about  
>that
>
>I don't use windows myself and so I won't be much help in  
>troubleshooting this.  


>But I have forwarded this reply to the SQLite  
>mailing list where there are lots of windows users.  Perhaps someone  
>there can explain what needs to be done


Dear Robert,

Richards Hipps diagnosis is almost certainly correct.

My "plan de campagne" would be:

1) Use the search function in Windows Explorer to find all
occurrences of sqlite3.dll on your harddisk(s). 

2) Make a note of the folder they reside in.

3) Download the current version of sqlite3.dll (zipped) from
http://www.sqlite.org/sqlitedll-3_6_21.zip 

4) Unzip or open the zip file, it contains the needed .dll

5) Replace sqlite3.dll in system folders, like C:\Windows\ ,
C:\Windows\System\ , C:\Windows\System32\ and the like, but
only if listed in step 2). Do not replace sqlite3.dll in
application folders yet, like C:\Program Files\ and
everything below that folder.

6) Reboot your computer, verify the error has disappeared.
If so: congratulations.

7) Only if the problem persists, replace all other
occurences of sqlite3.dll , in all other folders you listed
in 2).

The chance this action will introduce new incompatibilities
is small. Most applications will not notice the difference,
Richard Hipp and his team are very careful with upward
compatibility.

Software that doesn't work correctly can be reinstalled.

If that doesn't help, write your exact findings to the
sqlite-users@sqlite.org mailing list. Let us know the
Operating System you use and which version it had, and the
version of the application which has problems.

Disclaimer: I can not take any responsibility for any damage
this repair may cause. If you are uncertain about it, you'd
better have a qualified system administrator look at your
computer.

>> Dr. Robert N. Cleaves
>> President
>> Wilderness Conservancy
>> and Project CARE
>> www.wildcon.org
>> b...@wildcon.org
>> (310) 472-2593
>>
>
>D. Richard Hipp
>d...@hwaci.com
-- 
  (  Kees Nuyt
  )
c[_]


--
I am using the free version of SPAMfighter.
We are a community of 6 million users fighting spam.
SPAMfighter has removed 37 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len

The Professional version does not have this message


___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Problem with cast(xx as YY)

2009-12-25 Thread zhangzhenggui
> Don't complain that SQLite's cast works the other way than SQL Server
> or MySQL. SQLite behaves in a very unique way when the type-related
> matters are a concern. And you better tell as how behavior of cast()
> is different from 3.3.4.

Thanks a lot!
Actually, The 'select' return same result in 3.3.4.

Anyway, I trust sqlite. 
 





___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] sqlite3_prepare_v2

2009-12-25 Thread Max Vlasov
It's an interesting topic. Tried to search the web, and at least two
well-known programs, Picasa and iTunes probably expects sqlite3.dll to be
located somewhere in a shared place (probably system32 folder) and some
other software silently replaced this dll with its own copy having this
entry (sqlite3_prepare_v2) absent so after that both programs refused to
start.

iTunes
http://www.seasonsecurity.com/how-do-i-download-sqlite3dll-89859
Picasa
http://www.mail-archive.com/sqlite-users@sqlite.org/msg46025.html

First, I'd pass D. Richard Hipp's comment about statical linking to these
vendors as well :) But also this may also comes from the fact that all
sqlite3.dll I saw had no windows version resource, but only version
reporting through the corresponding function. It's not a problem when one
writes his own installer, but as I suppose, all well-known tools for
creating installers like InstallShield, relies mostly on resource version
comparision in their scripts, so can it be that doing all the things by
default, a software developer ends with a script that founds no version
information in both versions (in the installer, and in the Windows folder)
and prefers to "upgrade" anyway. Also is it hard to compile current version
of sqlite3.c to dll with version information in Windows format without
necessity to manually duplicate this information?

Max

On Fri, Dec 25, 2009 at 2:26 AM, Dr. Robert N. Cleaves wrote:

> Thank you very much for your help. The problem was in iTUNES. I removed it
> and no more problem. I then downloaded a new free version and the problem
> was solved.
>
> Dr. Robert N. Cleaves
>
>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] A question

2009-12-25 Thread Dan Kennedy

On Dec 25, 2009, at 1:45 AM,  
 wrote:

> Hey Dan,
> Please be patient with my English. I wonder if you would like to  
> tell me what
> I am doing wrong. I use Borland C++ Builder 3.0, but it seems  
> impossible to me
> to get sqlite3 up and running. I have included the sqlite3.c file in  
> my
> project. But the compiler reports some errors. The same goes with  
> the command
> line compiler bcc32. So I have tried to do like Nick Shaw, use the  
> dll. But
> that fails too, owing to linker problems. Are you willing and able  
> to support
> me? I very much like the possibility SQLITE provides to call  
> funcions in code.
> I also prefer to link it in the executable file, like you recommend  
> beneath.

Please post the text of the error messages.

Dan.

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users