Re: [sqlite] Sqlite problem with opening database

2017-07-06 Thread Chris Locke
This is actually answered on the system.data.sqlite download page. https://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki Scroll down to the section, "Using Native Library Pre-Loading". For some reason (?) on Chrome the text is about 30pt, so you shouldn't be able to miss it.

Re: [sqlite] Sqlite problem with opening database

2017-07-06 Thread Paul Sanderson
Could your 32 bit app be picking up a 64 bit dll. Could you rename the dll's and hard code the location into your library? May not work for your release code but may help you narrow down the issue. Paul On Wed, 5 Jul 2017 at 18:19, Simon Slavin wrote: > > > On 5 Jul

Re: [sqlite] Sqlite problem with opening database

2017-07-05 Thread Simon Slavin
On 5 Jul 2017, at 1:41pm, Gregor Pavuna wrote: > As it seems there's some sort of server problem(Windows 2012 server). My > guess is server is caching 64bit files and serving them to 32bit operating > systems. I tested on my test server with laptop (32bit windows 7) and

Re: [sqlite] Sqlite problem with opening database

2017-07-05 Thread Gregor Pavuna
Hey Simon, no i am not mixing, because it works on most of the clients 32bit and 64bit. That one is exception (well on several PCs, two different clients). As it seems there's some sort of server problem(Windows 2012 server). My guess is server is caching 64bit files and serving them to 32bit

Re: [sqlite] Sqlite problem with opening database

2017-07-05 Thread Simon Slavin
On 5 Jul 2017, at 8:36am, Gregor Pavuna wrote: > System.BadImageFormatException: An attempt was made to load a program with > an incorrect format. (Exception from HRESULT: 0x8007000B) Obtain and log the properties of this error:

[sqlite] Sqlite problem with opening database

2017-07-05 Thread Gregor Pavuna
Good day, I'm turning on you, since i have no general idea how to solve this. I googled a lot of similar questions and tried them all, but without success. I tried to compile to x86 only, prefer 32bit only, . Let me explain my situation: Application was built for Any CPU and is supposed