Re: [sqlite] Critical issue

2011-07-02 Thread Cyrille
A quick message to confirm that you method to re-compile SQLite.NET 
using the static CRT library (/MT) has worked perfectly and has been 
possible using Visual C++ 2010 Express.

Thanks a lot!



Le 23/06/2011 18:38, Random Coder a écrit :
> On Thu, Jun 23, 2011 at 9:27 AM, Cyrille<rssxpr...@free.fr>  wrote:
>> Thank you for these guidelines. Unfortunately, it seems that Visual
>> Studio is necessary and I just have the Express version. Do you confirm
>> that with the Express version, rebuilding is not possible?
> Sorry, I'd think Visual C++ 2010 Express is good enough, but I don't
> have a machine I can test that theory on.
> ___
> 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] Critical issue

2011-06-23 Thread Cyrille
I am currently making a testing with the C++ Express version. I thought 
it was not possible to use it because it just allow the access to the 
project "SQLite.Interop.2010" of the solution. However, I tried to 
compile applyng the settings you described. I am going to make some test 
and I will come back in few days to share the results.

Again, thanks for your support
Regards,
Cyrille


Le 23/06/2011 18:38, Random Coder a écrit :
> On Thu, Jun 23, 2011 at 9:27 AM, Cyrille<rssxpr...@free.fr>  wrote:
>> Thank you for these guidelines. Unfortunately, it seems that Visual
>> Studio is necessary and I just have the Express version. Do you confirm
>> that with the Express version, rebuilding is not possible?
> Sorry, I'd think Visual C++ 2010 Express is good enough, but I don't
> have a machine I can test that theory on.
> ___
> 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] Critical issue

2011-06-23 Thread Cyrille
Thank you for these guidelines. Unfortunately, it seems that Visual 
Studio is necessary and I just have the Express version. Do you confirm 
that with the Express version, rebuilding is not possible?

Best regards,
Cyrille


Le 23/06/2011 17:55, Random Coder a écrit :
> On Wed, Jun 22, 2011 at 10:48 PM, Cyrille<rssxpr...@free.fr>  wrote:
>>> Alternatively, you could recompile SQLite.Interop.dll to use the
>>> static CRT library (/MT).
>> Could you please let me know how to proceed to do this?
> Download the source from
> http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
>
> Decompress the archive
>
> Open the sqlite-dotnetsrc-1007300\SQLite.NET.2010.sln solution file
>
> Ensure "ReleaseNativeOnly" is the currently selected solution configuration.
>
> Right click on the SQLite.Interop.2010 project and select Properties
>
> Again, ensure "ReleaseNativeOnly" is the currently selected solution
> configuration, and Win32 is the platform
>
> Under Configuration Properties ->  C/C++ ->  Code Generation, change the
> Runtime Library to Multi-threaded (/MT), and click OK
>
> Right click on the project again, and select build.
>
> Test the output,
> sqlite-dotnetsrc-1007300\bin\Win32\ReleaseNativeOnly\SQLite.Interop.dll
> , in your project.
> ___
> 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] Critical issue

2011-06-22 Thread Cyrille
> Alternatively, you could recompile SQLite.Interop.dll to use the
> static CRT library (/MT).
Could you please let me know how to proceed to do this?

Thanks again,
Regards,
Cyrille


Le 22/06/2011 21:48, Random Coder a écrit :
> On Wed, Jun 22, 2011 at 10:57 AM, Cyrille<rssxpr...@free.fr>  wrote:
>> As you said, I have been surprised by the result. One of my users copied
>> the missing DLL indicated by Depends (IEShims.dll) to the application
>> folder and Depends indicates now another missing DLL: ieframe.dll which
>> seems to be again linked to IE.
>> Well, I have the feeling that the only possible solution so far is to
>> follow your other advice: adding the IE folder to the environment path.
>> Could you please explain me how to proceed?
>>
>> Finally, I still very puzzled how the difference between the DLL error
>> indicated by Depends and the DLL which cannot be found according to the
>> .NET error message raised while launching the application.
>> If the .NET raised an error message: "System.DllNotFoundException:
>> Impossible to load the DLL SQLite.Interop.DLL", why this DLL file error
>> is not also indicated by Depends?
> IEShims and IEFrame are red-herrings.  They're delay-loaded by a
> Windows component, and that component knows how to find them, and can
> deal with them not being loaded if need be.
>
> The core error is the fact you can't load SQLite.Interop.dll.  If you
> open depends and open this DLL on the target machines, I'm betting
> you'll see three error messages from depends.  You'll see IEShims.dll
> and IEFrame.dll, which you can ignore.  You'll also probably see
> MSVCR100.dll, which is the crux of the problem.  This is a guess, but
> you probably just need to install the VS 2010 C++ Redistributable
> package on the target machines and your project will work.
> Alternatively, you could recompile SQLite.Interop.dll to use the
> static CRT library (/MT).
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Critical issue

2011-06-22 Thread Cyrille
Thank you so much to all of you for your feedback. One of my users just 
informed me that he solved the issue by installing indeed the VS 2010 
C++ Redistributable package.
I confirm also that my project was set to "anycpu". If I change the 
setting to "x86", is the VS 2010 C++ Redistributable package still 
necessary?

Thanks again!
Regards,
Cyrille


Le 22/06/2011 21:56, J Decker a écrit :
> And the ieshims or whatever that doesn't show up in dependancy walker
> is standard behavior for any C# application.
>
> On Wed, Jun 22, 2011 at 12:55 PM, J Decker<d3c...@gmail.com>  wrote:
>> This is actually probably a very simple problem.  sqlite.net library
>> is built as x86.  Your project is probably built as 'anycpu' instead
>> of 'x86' which allows it to try and run as x64 as appropriate, but it
>> won't be able to use the x86 sqlite.net library.
>>
>> On Sat, Jun 18, 2011 at 5:47 AM, Cyrille<rssxpr...@free.fr>  wrote:
>>> Dear all,
>>>
>>> Since I am using the new version of SQLite.NET, some of my users have
>>> the following error when launching my application:
>>>
>>> System.DllNotFoundException: Impossible de charger la DLL
>>> 'SQLite.Interop.DLL': Le module spécifié est introuvable. (Exception de
>>> HRESULT : 0x8007007E)
>>> à System.Data.SQLite.UnsafeNativeMethods.sqlite3_open_interop(Byte[]
>>> utf8Filename, Int32 flags, IntPtr&  db)
>>> à System.Data.SQLite.SQLite3.Open(String strFilename,
>>> SQLiteOpenFlagsEnum flags, Int32 maxPoolSize, Boolean usePool)
>>> à System.Data.SQLite.SQLiteConnection.Open()
>>>
>>> However, the SQLite.Interop is in the application folder. I specify that
>>> I am using VB 2010 Express with the framework 4.0.
>>>
>>> Sorry but I really have troubles: if I cannot solve this critical issue,
>>> I cannot see what to do but stopping the development of my application :-(
>>> Thank you very much in advance
>>> Best regards,
>>> Cyrille
>>> ___
>>> 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-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Critical issue

2011-06-22 Thread Cyrille
Hi Michael,

As you said, I have been surprised by the result. One of my users copied 
the missing DLL indicated by Depends (IEShims.dll) to the application 
folder and Depends indicates now another missing DLL: ieframe.dll which 
seems to be again linked to IE.
Well, I have the feeling that the only possible solution so far is to 
follow your other advice: adding the IE folder to the environment path. 
Could you please explain me how to proceed?

Finally, I still very puzzled how the difference between the DLL error 
indicated by Depends and the DLL which cannot be found according to the 
.NET error message raised while launching the application.
If the .NET raised an error message: "System.DllNotFoundException: 
Impossible to load the DLL SQLite.Interop.DLL", why this DLL file error 
is not also indicated by Depends?

Sorry, I would like to understand :-//
Thank you very much again! :-)
Best regards,
Cyrille




Le 22/06/2011 03:29, Michael Stephenson a écrit :
> Hi Cyrille,
>
> You should probably use Dependency Walker on an end-user machine and profile
> your app with it to see what module(s) it cannot load.
>
> Since your app is 32bit, you'll need to get the 32bit version of Dependency
> Walker.  Then, load your exe into DW, click on the Profile menu, and start
> profiling.
>
> The log at the bottom of the DW window will show quite clearly which modules
> are loaded (you may be surprised :o) and will indicate in red any issues
> that are encountered.
>
> Note that not all failures of LoadLibrary or GetProcAddress are actual
> errors.  Usually the library that is executing these calls is ready to
> handle the case where the DLL may be missing or may be a different version
> that does not export a particular function.
>
> -Original Message-
> From: sqlite-users-boun...@sqlite.org
> [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Cyrille
> Sent: Monday, June 20, 2011 2:20 PM
> To: General Discussion of SQLite Database
> Subject: Re: [sqlite] Critical issue
>
> Dear Michael,
>
> Thank you very much. I am currently working with my users to make some
> testing following your advice. It seems that so far, the users
> encountering the bug has IE 8 installed. However, I have on another
> computer IE9 and the desktop application is running perfectly.
>
> They ran Depends on their end-user machine and it reveals two DLLs issue
> (cf. screenshot attached). However, these DLLs are not the SQLite.NET
> one. Thus my question: do the error mentioned in the screenshot attached
> can lead, on the end-user machine, to an error like
> "System.DllNotFoundException: Impossible to load the DLL
> '_SQLite.Interop.DLL_'"? (i.e. an error linked to a different DLL than
> the one mentioned by Depends)
>
> Thanks again very much :)
> Best regards,
> Cyrille
>
>
> Le 19/06/2011 20:10, Michael Stephenson a écrit :
>> You might also ask them if their IE version is 32-bit or 64-bit.
>>
>> Yes, ideally you would try Depends on an end-user machine.  Then, you
> might
>> try tweaking that machine (manually adjust the path, copy ieshims.dll to
>> somewhere on the path, etc.) until you come up with a workable solution.
>>
>> -Original Message-
>> From: sqlite-users-boun...@sqlite.org
>> [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Cyrille
>> Sent: Sunday, June 19, 2011 1:56 PM
>> To: General Discussion of SQLite Database
>> Subject: Re: [sqlite] Critical issue
>>
>> Dear Michael,
>>
>> Thanks for your message. I am going to ask my users for their IE version
> to
>> see if there is a link with the issue.
>>
>> Regards,
>> Cyrille
>>
>>
>>
>> Le 19/06/2011 05:20, Michael Stephenson a écrit :
>>> If the IE folder is not on the path, yes, you have to either copy it
>>> somewhere on the path, copy it to your application folder, or add the
>>> IE folder to the path.  I believe that not having the IE folder on the
>>> path is a mistake in the installer for the newer versions of IE.  Back
>>> in the day, I think that the IE folder used to be on the path
>>> automatically.  This is a good example of bad practices on Microsoft's
>>> part and also how they have tied IE into the operating system so that you
>> can't get rid of it.
>>> I think that this is a typical issue with just about any application
>>> (Depends will show a missing delay load) because shell32.dll on newer
>>> versions of Windows has this delay load dependency on ieshims.dll.
>>>
>>> However, usually this is not a problem because usually the delayed
>>> load isn't invoked because nothing in the DLL is used.
>>>
>

Re: [sqlite] Critical issue

2011-06-21 Thread Cyrille

Dear Michael,

Thank you very much. I am currently working with my users to make some 
testing following your advice. It seems that so far, the users 
encountering the bug has IE 8 installed. However, I have on another 
computer IE9 and the desktop application is running perfectly.


They ran Depends on their end-user machine and it reveals two DLLs issue 
(cf. screenshot attached). However, these DLLs are not the SQLite.NET 
one. Thus my question: do the error mentioned in the screenshot attached 
can lead, on the end-user machine, to an error like 
"System.DllNotFoundException: Impossible to load the DLL 
'_SQLite.Interop.DLL_'"? (i.e. an error linked to a different DLL than 
the one mentioned by Depends)


Thanks again very much :)
Best regards,
Cyrille


Le 19/06/2011 20:10, Michael Stephenson a écrit :

You might also ask them if their IE version is 32-bit or 64-bit.

Yes, ideally you would try Depends on an end-user machine.  Then, you might
try tweaking that machine (manually adjust the path, copy ieshims.dll to
somewhere on the path, etc.) until you come up with a workable solution.

-Original Message-
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Cyrille
Sent: Sunday, June 19, 2011 1:56 PM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] Critical issue

Dear Michael,

Thanks for your message. I am going to ask my users for their IE version to
see if there is a link with the issue.

Regards,
Cyrille



Le 19/06/2011 05:20, Michael Stephenson a écrit :

If the IE folder is not on the path, yes, you have to either copy it
somewhere on the path, copy it to your application folder, or add the
IE folder to the path.  I believe that not having the IE folder on the
path is a mistake in the installer for the newer versions of IE.  Back
in the day, I think that the IE folder used to be on the path
automatically.  This is a good example of bad practices on Microsoft's
part and also how they have tied IE into the operating system so that you

can't get rid of it.

I think that this is a typical issue with just about any application
(Depends will show a missing delay load) because shell32.dll on newer
versions of Windows has this delay load dependency on ieshims.dll.

However, usually this is not a problem because usually the delayed
load isn't invoked because nothing in the DLL is used.

You might want to use Dependency Walker to profile your app and get a
good idea of what the exact issue is.  If your app is 32-bit, you'll
need the 32-bit depends.exe to profile the app.

I'm going to bet that if all of your users aren't having the problem,
then the ones with IE7 or earlier are good and the ones with IE8 or
later are the ones having the problem.

-Original Message-
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Cyrille
Sent: Saturday, June 18, 2011 11:36 AM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] Critical issue

It seems that I have been too quickly enthusiastic. Indeed, I have
already received a feedback from a user who has the same issue running
a 32-bit Windows.

Thus, I tried to follow your advices Michael. Concerning the first
link which advice putting the DLL in the environment path. I am not
sure to understand but:
- the application is correctly running from VB express
- all DLLs are in the application folder (once built) So, this issue
seems to be ok, am I right?

In your second message, you suggest me to use Dependency Walker. I did
it and I obtain two errors:
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing
export function in a delay-load dependent module.
The warnings seem to be linked to the error displayed in the same
software: Error opening file for IESHIMS.DLL

However, this DLL should be in the IE folder so I do not think I have
to copy it in my application folder. Right?

Sorry if my questions are stupid but I cannot figure it out.

Best regards,
Cyrille


Le 18/06/2011 15:50, Black, Michael (IS) a écrit :

Also...try dependency walker to ensure you have all the DLLs you need

deployed with your package that aren't "standard".

http://www.dependencywalker.com/





Michael D. Black

Senior Scientist

NG Information Systems

Advanced Analytics Directorate




From: sqlite-users-boun...@sqlite.org
[sqlite-users-boun...@sqlite.org] on behalf of beell [be...@web.de]
Sent: Saturday, June 18, 2011 8:37 AM
To: sqlite-users@sqlite.org
Subject: EXT :Re: [sqlite] Critical issue

Am 18.06.2011 14:47, schrieb Cyrille:

Dear all,

Since I am using the new version of SQLite.NET, some of my users
have the following error when launching my application:

System.DllNotFoundException: Impossible de charger la DLL
'SQLite.Interop.DLL': Le module spécifié est introuvable. (Exception
de HRESULT : 0

Re: [sqlite] Critical issue

2011-06-19 Thread Cyrille
Dear Michael,

Thanks for your message. I am going to ask my users for their IE version 
to see if there is a link with the issue.

Regards,
Cyrille



Le 19/06/2011 05:20, Michael Stephenson a écrit :
> If the IE folder is not on the path, yes, you have to either copy it
> somewhere on the path, copy it to your application folder, or add the IE
> folder to the path.  I believe that not having the IE folder on the path is
> a mistake in the installer for the newer versions of IE.  Back in the day, I
> think that the IE folder used to be on the path automatically.  This is a
> good example of bad practices on Microsoft's part and also how they have
> tied IE into the operating system so that you can't get rid of it.
>
> I think that this is a typical issue with just about any application
> (Depends will show a missing delay load) because shell32.dll on newer
> versions of Windows has this delay load dependency on ieshims.dll.
>
> However, usually this is not a problem because usually the delayed load
> isn't invoked because nothing in the DLL is used.
>
> You might want to use Dependency Walker to profile your app and get a good
> idea of what the exact issue is.  If your app is 32-bit, you'll need the
> 32-bit depends.exe to profile the app.
>
> I'm going to bet that if all of your users aren't having the problem, then
> the ones with IE7 or earlier are good and the ones with IE8 or later are the
> ones having the problem.
>
> -Original Message-
> From: sqlite-users-boun...@sqlite.org
> [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Cyrille
> Sent: Saturday, June 18, 2011 11:36 AM
> To: General Discussion of SQLite Database
> Subject: Re: [sqlite] Critical issue
>
> It seems that I have been too quickly enthusiastic. Indeed, I have already
> received a feedback from a user who has the same issue running a 32-bit
> Windows.
>
> Thus, I tried to follow your advices Michael. Concerning the first link
> which advice putting the DLL in the environment path. I am not sure to
> understand but:
> - the application is correctly running from VB express
> - all DLLs are in the application folder (once built) So, this issue seems
> to be ok, am I right?
>
> In your second message, you suggest me to use Dependency Walker. I did it
> and I obtain two errors:
> Warning: At least one delay-load dependency module was not found.
> Warning: At least one module has an unresolved import due to a missing
> export function in a delay-load dependent module.
> The warnings seem to be linked to the error displayed in the same
> software: Error opening file for IESHIMS.DLL
>
> However, this DLL should be in the IE folder so I do not think I have to
> copy it in my application folder. Right?
>
> Sorry if my questions are stupid but I cannot figure it out.
>
> Best regards,
> Cyrille
>
>
> Le 18/06/2011 15:50, Black, Michael (IS) a écrit :
>> Also...try dependency walker to ensure you have all the DLLs you need
> deployed with your package that aren't "standard".
>> http://www.dependencywalker.com/
>>
>>
>>
>>
>>
>> Michael D. Black
>>
>> Senior Scientist
>>
>> NG Information Systems
>>
>> Advanced Analytics Directorate
>>
>>
>>
>> ____
>> From: sqlite-users-boun...@sqlite.org
>> [sqlite-users-boun...@sqlite.org] on behalf of beell [be...@web.de]
>> Sent: Saturday, June 18, 2011 8:37 AM
>> To: sqlite-users@sqlite.org
>> Subject: EXT :Re: [sqlite] Critical issue
>>
>> Am 18.06.2011 14:47, schrieb Cyrille:
>>> Dear all,
>>>
>>> Since I am using the new version of SQLite.NET, some of my users have
>>> the following error when launching my application:
>>>
>>> System.DllNotFoundException: Impossible de charger la DLL
>>> 'SQLite.Interop.DLL': Le module spécifié est introuvable. (Exception
>>> de HRESULT : 0x8007007E)
>>>à
> System.Data.SQLite.UnsafeNativeMethods.sqlite3_open_interop(Byte[]
>>> utf8Filename, Int32 flags, IntPtr&db)
>>>à System.Data.SQLite.SQLite3.Open(String strFilename,
>>> SQLiteOpenFlagsEnum flags, Int32 maxPoolSize, Boolean usePool)
>>>à System.Data.SQLite.SQLiteConnection.Open()
>>>
>>> However, the SQLite.Interop is in the application folder. I specify
>>> that I am using VB 2010 Express with the framework 4.0.
>>>
>>> Sorry but I really have troubles: if I cannot solve this critical
>>> issue, I cannot see what to do but stopping the development of my
>>> application :-( Thank you very much in advance Best regards, Cyrille
&g

Re: [sqlite] Critical issue

2011-06-19 Thread Cyrille
Concerning your first potential solution, it seems that I have to "add 
the %ProgramFiles%\Internet Explorer path to the PATH Environment 
Variable and restart the Application where I am missing the files"

Here again a stupid question: how to add a path to the PATH Environment? 
Is it in my the VB Express project?

I am not distributing the redistributable package. I made the install 
script "by myself", using NSIS script. However, all my users who have 
the problem have the Framework .NET installed on their computer. So 
everything is fine, right?

About Dependency Walker, I ran it on my computer but, now, it is coming 
to my minds that you should have make run it on the computer of one of 
my users who encounter the bug. Right?

Thanks again for your support.

Cyrille



Le 19/06/2011 14:13, Black, Michael (IS) a écrit :
> There's a number of articles via google "ieshims.dll dependency"
>
> This one appears to have a potential solution
>
> http://social.technet.microsoft.com/Forums/en-US/w7itproinstall/thread/8a751f65-ade9-4b8b-a3d3-c720ccbd3d2c/
>
>
>
> Are you also distributing the Redistributable package?
>
> http://www.microsoft.com/download/en/details.aspx?displaylang=en=3387
>
>
>
> You need a matrix of OS Version, IE Version, and what works or does not work.
>
>
>
> Welcome to DLL hell...
>
>
>
> Michael D. Black
>
> Senior Scientist
>
> NG Information Systems
>
> Advanced Analytics Directorate
>
>
>
> 
> From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
> behalf of Michael Stephenson [domehead...@gmail.com]
> Sent: Saturday, June 18, 2011 10:20 PM
> To: 'General Discussion of SQLite Database'
> Subject: EXT :Re: [sqlite] Critical issue
>
> If the IE folder is not on the path, yes, you have to either copy it
> somewhere on the path, copy it to your application folder, or add the IE
> folder to the path.  I believe that not having the IE folder on the path is
> a mistake in the installer for the newer versions of IE.  Back in the day, I
> think that the IE folder used to be on the path automatically.  This is a
> good example of bad practices on Microsoft's part and also how they have
> tied IE into the operating system so that you can't get rid of it.
>
> I think that this is a typical issue with just about any application
> (Depends will show a missing delay load) because shell32.dll on newer
> versions of Windows has this delay load dependency on ieshims.dll.
>
> However, usually this is not a problem because usually the delayed load
> isn't invoked because nothing in the DLL is used.
>
> You might want to use Dependency Walker to profile your app and get a good
> idea of what the exact issue is.  If your app is 32-bit, you'll need the
> 32-bit depends.exe to profile the app.
>
> I'm going to bet that if all of your users aren't having the problem, then
> the ones with IE7 or earlier are good and the ones with IE8 or later are the
> ones having the problem.
>
> -Original Message-
> From: sqlite-users-boun...@sqlite.org
> [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Cyrille
> Sent: Saturday, June 18, 2011 11:36 AM
> To: General Discussion of SQLite Database
> Subject: Re: [sqlite] Critical issue
>
> It seems that I have been too quickly enthusiastic. Indeed, I have already
> received a feedback from a user who has the same issue running a 32-bit
> Windows.
>
> Thus, I tried to follow your advices Michael. Concerning the first link
> which advice putting the DLL in the environment path. I am not sure to
> understand but:
> - the application is correctly running from VB express
> - all DLLs are in the application folder (once built) So, this issue seems
> to be ok, am I right?
>
> In your second message, you suggest me to use Dependency Walker. I did it
> and I obtain two errors:
> Warning: At least one delay-load dependency module was not found.
> Warning: At least one module has an unresolved import due to a missing
> export function in a delay-load dependent module.
> The warnings seem to be linked to the error displayed in the same
> software: Error opening file for IESHIMS.DLL
>
> However, this DLL should be in the IE folder so I do not think I have to
> copy it in my application folder. Right?
>
> Sorry if my questions are stupid but I cannot figure it out.
>
> Best regards,
> Cyrille
>
>
> Le 18/06/2011 15:50, Black, Michael (IS) a écrit :
>> Also...try dependency walker to ensure you have all the DLLs you need
> deployed with your package that aren't "standard".
>> http://www.dependencywalker.com/
>>
>>
>>
>>
>>
>> Michael D. Black
>

Re: [sqlite] Critical issue

2011-06-18 Thread Cyrille
It seems that I have been too quickly enthusiastic. Indeed, I have 
already received a feedback from a user who has the same issue running a 
32-bit Windows.

Thus, I tried to follow your advices Michael. Concerning the first link 
which advice putting the DLL in the environment path. I am not sure to 
understand but:
- the application is correctly running from VB express
- all DLLs are in the application folder (once built)
So, this issue seems to be ok, am I right?

In your second message, you suggest me to use Dependency Walker. I did 
it and I obtain two errors:
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing 
export function in a delay-load dependent module.
The warnings seem to be linked to the error displayed in the same 
software: Error opening file for IESHIMS.DLL

However, this DLL should be in the IE folder so I do not think I have to 
copy it in my application folder. Right?

Sorry if my questions are stupid but I cannot figure it out.

Best regards,
Cyrille


Le 18/06/2011 15:50, Black, Michael (IS) a écrit :
> Also...try dependency walker to ensure you have all the DLLs you need 
> deployed with your package that aren't "standard".
>
> http://www.dependencywalker.com/
>
>
>
>
>
> Michael D. Black
>
> Senior Scientist
>
> NG Information Systems
>
> Advanced Analytics Directorate
>
>
>
> 
> From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
> behalf of beell [be...@web.de]
> Sent: Saturday, June 18, 2011 8:37 AM
> To: sqlite-users@sqlite.org
> Subject: EXT :Re: [sqlite] Critical issue
>
> Am 18.06.2011 14:47, schrieb Cyrille:
>> Dear all,
>>
>> Since I am using the new version of SQLite.NET, some of my users have
>> the following error when launching my application:
>>
>> System.DllNotFoundException: Impossible de charger la DLL
>> 'SQLite.Interop.DLL': Le module spécifié est introuvable. (Exception de
>> HRESULT : 0x8007007E)
>>   à System.Data.SQLite.UnsafeNativeMethods.sqlite3_open_interop(Byte[]
>> utf8Filename, Int32 flags, IntPtr&   db)
>>   à System.Data.SQLite.SQLite3.Open(String strFilename,
>> SQLiteOpenFlagsEnum flags, Int32 maxPoolSize, Boolean usePool)
>>   à System.Data.SQLite.SQLiteConnection.Open()
>>
>> However, the SQLite.Interop is in the application folder. I specify that
>> I am using VB 2010 Express with the framework 4.0.
>>
>> Sorry but I really have troubles: if I cannot solve this critical issue,
>> I cannot see what to do but stopping the development of my application :-(
>> Thank you very much in advance
>> Best regards,
>> Cyrille
>
> Are you sure that your users have the right dlls according to their
> system (x86 vs x64)?
>
>
> ___
> 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-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Critical issue

2011-06-18 Thread Cyrille
Dear Beell and Michael,

Thank you very much for your respective answers. I am checking but I am 
pretty sure that users who experience this issue are using my 
application with windows 64 bits and I made my project only with... 32 
bits DLLs of SQLite.NET.

Thus, now my next question is: each time I will release a new version of 
my application, should I clone my VB project and modify the SQLite.net 
DLL in the references by the 64 bits version and re-built a new EXE? Or, 
I just replace, in the built application, the SQLite.Net DLL by the 64 
bits one?

If my question is not clear, just let me know and I will try to ask it 
differently :)
Best regards,
Cyrille



Le 18/06/2011 15:37, beell a écrit :
> Am 18.06.2011 14:47, schrieb Cyrille:
>> Dear all,
>>
>> Since I am using the new version of SQLite.NET, some of my users have
>> the following error when launching my application:
>>
>> System.DllNotFoundException: Impossible de charger la DLL
>> 'SQLite.Interop.DLL': Le module spécifié est introuvable. (Exception de
>> HRESULT : 0x8007007E)
>>   à System.Data.SQLite.UnsafeNativeMethods.sqlite3_open_interop(Byte[]
>> utf8Filename, Int32 flags, IntPtr&   db)
>>   à System.Data.SQLite.SQLite3.Open(String strFilename,
>> SQLiteOpenFlagsEnum flags, Int32 maxPoolSize, Boolean usePool)
>>   à System.Data.SQLite.SQLiteConnection.Open()
>>
>> However, the SQLite.Interop is in the application folder. I specify that
>> I am using VB 2010 Express with the framework 4.0.
>>
>> Sorry but I really have troubles: if I cannot solve this critical issue,
>> I cannot see what to do but stopping the development of my application :-(
>> Thank you very much in advance
>> Best regards,
>> Cyrille
>
> Are you sure that your users have the right dlls according to their
> system (x86 vs x64)?
>
>
> ___
> 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] Critical issue

2011-06-18 Thread Cyrille
Dear all,

Since I am using the new version of SQLite.NET, some of my users have 
the following error when launching my application:

System.DllNotFoundException: Impossible de charger la DLL 
'SQLite.Interop.DLL': Le module spécifié est introuvable. (Exception de 
HRESULT : 0x8007007E)
à System.Data.SQLite.UnsafeNativeMethods.sqlite3_open_interop(Byte[] 
utf8Filename, Int32 flags, IntPtr& db)
à System.Data.SQLite.SQLite3.Open(String strFilename, 
SQLiteOpenFlagsEnum flags, Int32 maxPoolSize, Boolean usePool)
à System.Data.SQLite.SQLiteConnection.Open()

However, the SQLite.Interop is in the application folder. I specify that 
I am using VB 2010 Express with the framework 4.0.

Sorry but I really have troubles: if I cannot solve this critical issue, 
I cannot see what to do but stopping the development of my application :-(
Thank you very much in advance
Best regards,
Cyrille
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] How to compile both DLLs with another .NET framework

2011-06-13 Thread Cyrille
Dear all,

Following Pavel's answers to my topic "Cannot load SQLite.Interop.dll 
but file is in the folder" (cf. below), it seems necessary for me to 
re-compile both DLLs (System.Data.SQLite.dll and SQLite.Interop.dll) 
with a specific framework version (my application uses the framework 
3.0). However, I have only the Express versions (not the studio one) and 
it seems that it is thus not possible for me to re-compile SQLite.NET.
First question: am I right?
Second question: how to re-compile then?

Thank you very much for your support
Regards,
Cyrille
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] How to re-compile both DLLs with a specific framework

2011-06-12 Thread Cyrille
Dear all,

Following Pavel's answers to my topic "Cannot load SQLite.Interop.dll 
but file is in the folder" (cf. below), it seems necessary for me to 
re-compile both DLLs (System.Data.SQLite.dll and SQLite.Interop.dll) 
with a specific framework version (my application uses the framework 
3.0). However, I have only the Express versions (not the studio one) and 
it seems that it is thus not possible for me to re-compile SQLite.NET.
First question: am I right?
Second question: how to re-compile then?

Thank you very much for your support
Regards,
Cyrille
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] How to re-compile both DLLs with a specific framework

2011-06-10 Thread Cyrille
Dear all,

Following Pavel's answers to my topic "Cannot load SQLite.Interop.dll 
but file is in the folder" (cf. below), it seems necessary for me to 
re-compile both DLLs (System.Data.SQLite.dll and SQLite.Interop.dll) 
with a specific framework version (my application uses the framework 
3.0). However, I have only the Express versions (not the studio one) and 
it seems that it is thus not possible for me to re-compile SQLite.NET.
First question: am I right?
Second question: how to re-compile then?

Thank you very much for your support
Regards,
Cyrille


Le 08/06/2011 15:46, Pavel Ivanov a écrit :
>> Thus, could you please let me know what framework has been used to
>> compile the "Precompiled Binaries For Windows" on the download page?
>> Should I re-compile SQLite with the same framework than the one used for
>> my application?
> Sorry, I can't answer these questions. I'm not on SQLite development
> team and don't know what framework it was compiled for. And I'm no
> expert in .NET development, so I can't give any advice on how you
> should re-compile the SQLite to be usable on .NET 4.0. But quick
> googling revealed this page
> http://msdn.microsoft.com/en-us/library/bb397456.aspx. Maybe digging
> into it may help you or somebody more experienced with .NET on this
> list will give you some advice.
>
>
> Pavel
>
>
> On Wed, Jun 8, 2011 at 5:03 AM, Cyrille<rssxpr...@free.fr>  wrote:
>> Dear Pavel,
>>
>> Finally, it seems that you were right: the person confirmed me that the
>> software was not running with a PC with the framework 4.0. It works fine
>> with another PC with framework 3.5.
>>
>> My application is compiled with the framework 3.0.
>> Thus, could you please let me know what framework has been used to
>> compile the "Precompiled Binaries For Windows" on the download page?
>> Should I re-compile SQLite with the same framework than the one used for
>> my application?
>>
>> Thanks for your support
>> Cyrille
>>
>>
>> Le 31/05/2011 15:57, Pavel Ivanov a écrit :
>>> I would ask one more question: do they have the same Windows and .NET
>>> Framework version as you have? AFAIK, Windows and .NET specifically
>>> are very picky on all dlls versions. So if for example you have
>>> SQLite.Interop.dll compiled with a newer .NET Framework and manifest
>>> in it requires your version then it won't load in older .NET
>>> Framework. I believe without extra steps during compilation the
>>> opposite is also true - if you compile on older .NET Framework it
>>> won't load in newer one.
>>> But don't ask me how to make it accept different versions of Framework
>>> and other libraries. I'm no expert in that, just had some chance in
>>> the past to struggle with such problems.
>>>
>>>
>>> Pavel
>>>
>>>
>>> On Tue, May 31, 2011 at 8:54 AM, Black, Michael (IS)
>>> <michael.bla...@ngc.com>wrote:
>>>> Unfortunately you're also hitting a rather lousy error message which 
>>>> doesn't tell you "file not found" or "permission denied" or such..for 
>>>> which I always deduct points for my students.
>>>>
>>>>
>>>>
>>>> So...try this..
>>>>
>>>> http://www.softpedia.com/get/Programming/Debuggers-Decompilers-Dissasemblers/Strace%20NT.shtml
>>>>
>>>> That will hopefully show you what's happening.
>>>>
>>>>
>>>>
>>>> I suspect that there could be something funky in the file name.
>>>>
>>>> You can have them try to rename it and see if that works if they just 
>>>> retype the whole filename.
>>>>
>>>>
>>>>
>>>> Also...is there any path mungling going on for 8-char path names?
>>>> Try putting the app in a simpler directory name structure that doesn't 
>>>> exceed 8 chars for each dir name.
>>>>
>>>>
>>>>
>>>> And what happens if they execute from a command prompt?
>>>>
>>>>
>>>>
>>>> And what's the "working directory" of the menu entry?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Michael D. Black
>>>>
>>>> Senior Scientist
>>>>
>>>> NG Information Systems
>>>>
>>>> Advanced Analytics Directorate
>>>>
>>>>
>>>>
>>>> 
>>>> From: sqlite-us

Re: [sqlite] Cannot load SQLite.Interop.dll but file is in the folder

2011-06-08 Thread Cyrille
Dear Pavel,

Finally, it seems that you were right: the person confirmed me that the 
software was not running with a PC with the framework 4.0. It works fine 
with another PC with framework 3.5.

My application is compiled with the framework 3.0.
Thus, could you please let me know what framework has been used to 
compile the "Precompiled Binaries For Windows" on the download page? 
Should I re-compile SQLite with the same framework than the one used for 
my application?

Thanks for your support
Cyrille


Le 31/05/2011 15:57, Pavel Ivanov a écrit :
> I would ask one more question: do they have the same Windows and .NET
> Framework version as you have? AFAIK, Windows and .NET specifically
> are very picky on all dlls versions. So if for example you have
> SQLite.Interop.dll compiled with a newer .NET Framework and manifest
> in it requires your version then it won't load in older .NET
> Framework. I believe without extra steps during compilation the
> opposite is also true - if you compile on older .NET Framework it
> won't load in newer one.
> But don't ask me how to make it accept different versions of Framework
> and other libraries. I'm no expert in that, just had some chance in
> the past to struggle with such problems.
>
>
> Pavel
>
>
> On Tue, May 31, 2011 at 8:54 AM, Black, Michael (IS)
> <michael.bla...@ngc.com>  wrote:
>> Unfortunately you're also hitting a rather lousy error message which doesn't 
>> tell you "file not found" or "permission denied" or such..for which I always 
>> deduct points for my students.
>>
>>
>>
>> So...try this..
>>
>> http://www.softpedia.com/get/Programming/Debuggers-Decompilers-Dissasemblers/Strace%20NT.shtml
>>
>> That will hopefully show you what's happening.
>>
>>
>>
>> I suspect that there could be something funky in the file name.
>>
>> You can have them try to rename it and see if that works if they just retype 
>> the whole filename.
>>
>>
>>
>> Also...is there any path mungling going on for 8-char path names?
>> Try putting the app in a simpler directory name structure that doesn't 
>> exceed 8 chars for each dir name.
>>
>>
>>
>> And what happens if they execute from a command prompt?
>>
>>
>>
>> And what's the "working directory" of the menu entry?
>>
>>
>>
>>
>>
>> Michael D. Black
>>
>> Senior Scientist
>>
>> NG Information Systems
>>
>> Advanced Analytics Directorate
>>
>>
>>
>> 
>> From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
>> behalf of Cyrille [rssxpr...@free.fr]
>> Sent: Monday, May 30, 2011 12:19 PM
>> To: General Discussion of SQLite Database
>> Subject: EXT :Re: [sqlite] Cannot load SQLite.Interop.dll but file is in the 
>> folder
>>
>> Dear Michael,
>>
>> Thank you very much for your link. What is strange is that, whatever the
>> SafeDllSearchMode is enable or not, the first location searched is the
>> application one. ANd, as mentioned in my first message, the DLL is in
>> the same folder as the EXE file.
>> I do not know if there is a link but the user who experiences this
>> problem is running my application under WIndows 7 32bit. Is there any
>> possible link?
>>
>> Thanks again
>> Cyrille
>>
>>
>>
>> Le 29/05/2011 20:33, Black, Michael (IS) a écrit :
>>> Welcome to DLL hell...Microsoft keeps changing it...
>>>
>>>
>>>
>>> http://msdn.microsoft.com/en-us/library/ms682586(v=vs.85).aspx
>>>
>>>
>>>
>>>
>>>
>>> Michael D. Black
>>>
>>> Senior Scientist
>>>
>>> NG Information Systems
>>>
>>> Advanced Analytics Directorate
>>>
>>>
>>>
>>> 
>>> From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
>>> behalf of Cyrille [rssxpr...@free.fr]
>>> Sent: Sunday, May 29, 2011 1:29 PM
>>> To: General Discussion of SQLite Database
>>> Subject: EXT :[sqlite] Cannot load SQLite.Interop.dll but file is in the 
>>> folder
>>>
>>> Dear all,
>>>
>>> One of the users of my application has a critical issue. When he
>>> launches it, he gets an error message "Impossible to load DLL
>>> "SQLite.Interop.DLL". However, the file is in the same folder as the EXE
>>> one.
>>> Stranger: he sent me the whole folder and 

Re: [sqlite] Cannot load SQLite.Interop.dll but file is in the folder

2011-06-07 Thread Cyrille
Dear Pavel,

Thanks for your answer. Sorry, I am not sure to understand. You mean 
that, in some case, the application will only work with the same .net 
framework used to compile the DLL. Correct?

Anyway, I have directly used the DLL provided by installing SQLite. 
Could you please let me know how to re-compile both DLLs? Sorry if my 
question is stupid :(

Cyrille


Le 31/05/2011 15:57, Pavel Ivanov a écrit :
> I would ask one more question: do they have the same Windows and .NET
> Framework version as you have? AFAIK, Windows and .NET specifically
> are very picky on all dlls versions. So if for example you have
> SQLite.Interop.dll compiled with a newer .NET Framework and manifest
> in it requires your version then it won't load in older .NET
> Framework. I believe without extra steps during compilation the
> opposite is also true - if you compile on older .NET Framework it
> won't load in newer one.
> But don't ask me how to make it accept different versions of Framework
> and other libraries. I'm no expert in that, just had some chance in
> the past to struggle with such problems.
>
>
> Pavel
>
>
> On Tue, May 31, 2011 at 8:54 AM, Black, Michael (IS)
> <michael.bla...@ngc.com>  wrote:
>> Unfortunately you're also hitting a rather lousy error message which doesn't 
>> tell you "file not found" or "permission denied" or such..for which I always 
>> deduct points for my students.
>>
>>
>>
>> So...try this..
>>
>> http://www.softpedia.com/get/Programming/Debuggers-Decompilers-Dissasemblers/Strace%20NT.shtml
>>
>> That will hopefully show you what's happening.
>>
>>
>>
>> I suspect that there could be something funky in the file name.
>>
>> You can have them try to rename it and see if that works if they just retype 
>> the whole filename.
>>
>>
>>
>> Also...is there any path mungling going on for 8-char path names?
>> Try putting the app in a simpler directory name structure that doesn't 
>> exceed 8 chars for each dir name.
>>
>>
>>
>> And what happens if they execute from a command prompt?
>>
>>
>>
>> And what's the "working directory" of the menu entry?
>>
>>
>>
>>
>>
>> Michael D. Black
>>
>> Senior Scientist
>>
>> NG Information Systems
>>
>> Advanced Analytics Directorate
>>
>>
>>
>> 
>> From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
>> behalf of Cyrille [rssxpr...@free.fr]
>> Sent: Monday, May 30, 2011 12:19 PM
>> To: General Discussion of SQLite Database
>> Subject: EXT :Re: [sqlite] Cannot load SQLite.Interop.dll but file is in the 
>> folder
>>
>> Dear Michael,
>>
>> Thank you very much for your link. What is strange is that, whatever the
>> SafeDllSearchMode is enable or not, the first location searched is the
>> application one. ANd, as mentioned in my first message, the DLL is in
>> the same folder as the EXE file.
>> I do not know if there is a link but the user who experiences this
>> problem is running my application under WIndows 7 32bit. Is there any
>> possible link?
>>
>> Thanks again
>> Cyrille
>>
>>
>>
>> Le 29/05/2011 20:33, Black, Michael (IS) a écrit :
>>> Welcome to DLL hell...Microsoft keeps changing it...
>>>
>>>
>>>
>>> http://msdn.microsoft.com/en-us/library/ms682586(v=vs.85).aspx
>>>
>>>
>>>
>>>
>>>
>>> Michael D. Black
>>>
>>> Senior Scientist
>>>
>>> NG Information Systems
>>>
>>> Advanced Analytics Directorate
>>>
>>>
>>>
>>> 
>>> From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
>>> behalf of Cyrille [rssxpr...@free.fr]
>>> Sent: Sunday, May 29, 2011 1:29 PM
>>> To: General Discussion of SQLite Database
>>> Subject: EXT :[sqlite] Cannot load SQLite.Interop.dll but file is in the 
>>> folder
>>>
>>> Dear all,
>>>
>>> One of the users of my application has a critical issue. When he
>>> launches it, he gets an error message "Impossible to load DLL
>>> "SQLite.Interop.DLL". However, the file is in the same folder as the EXE
>>> one.
>>> Stranger: he sent me the whole folder and the application runs very well
>>> from my computers.
>>>
>>> Does somebody have some ideas about the possible cause?
>&

Re: [sqlite] Cannot load SQLite.Interop.dll but file is in the folder

2011-05-30 Thread Cyrille
Dear Michael,

Thank you very much for your link. What is strange is that, whatever the 
SafeDllSearchMode is enable or not, the first location searched is the 
application one. ANd, as mentioned in my first message, the DLL is in 
the same folder as the EXE file.
I do not know if there is a link but the user who experiences this 
problem is running my application under WIndows 7 32bit. Is there any 
possible link?

Thanks again
Cyrille



Le 29/05/2011 20:33, Black, Michael (IS) a écrit :
> Welcome to DLL hell...Microsoft keeps changing it...
>
>
>
> http://msdn.microsoft.com/en-us/library/ms682586(v=vs.85).aspx
>
>
>
>
>
> Michael D. Black
>
> Senior Scientist
>
> NG Information Systems
>
> Advanced Analytics Directorate
>
>
>
> 
> From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
> behalf of Cyrille [rssxpr...@free.fr]
> Sent: Sunday, May 29, 2011 1:29 PM
> To: General Discussion of SQLite Database
> Subject: EXT :[sqlite] Cannot load SQLite.Interop.dll but file is in the 
> folder
>
> Dear all,
>
> One of the users of my application has a critical issue. When he
> launches it, he gets an error message "Impossible to load DLL
> "SQLite.Interop.DLL". However, the file is in the same folder as the EXE
> one.
> Stranger: he sent me the whole folder and the application runs very well
> from my computers.
>
> Does somebody have some ideas about the possible cause?
>
> Thanks for your kind help.
> Regards,
> Cyrille
> ___
> 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-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] Cannot load SQLite.Interop.dll but file is in the folder

2011-05-29 Thread Cyrille
Dear all,

One of the users of my application has a critical issue. When he 
launches it, he gets an error message "Impossible to load DLL 
"SQLite.Interop.DLL". However, the file is in the same folder as the EXE 
one.
Stranger: he sent me the whole folder and the application runs very well 
from my computers.

Does somebody have some ideas about the possible cause?

Thanks for your kind help.
Regards,
Cyrille
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] 1.0.71.0 and VB 2008 Express Edition - SQLite.Interop.dll cannot be found

2011-05-07 Thread Cyrille
Thank you so much. It works again perfectly now :)

Regards,
Cyrille


Le 07/05/2011 09:53, Kevin Benson a écrit :
> On Sat, May 7, 2011 at 3:12 AM, Cyrille<rssxpr...@free.fr>  wrote:
>
>> Dear all,
>>
>> Sorry to send again my previous email (cf. below) but as I did not
>> receive any answer, I am wondering if my question was stupid or if
>> nobody could help me. Thank you very much in advance for your kind answers
>>
>> Regards,
>> Cyrille
>>
>
> Seems like after adding SQLite.Interop.071.dll to the project root folder,
> you would then right-click that particular SQLite.Interop.071.dll file to
> view its properties and ensure that these options are set:
>
> 
>
> Build Action = Content
>
> -and-
>
>   Copy to Output Directory = Copy If Newer
>
> 
>
> Testing again with a subsequent build or rebuild of the project may get you
> working again.
> --
> --
>--
>   --ô¿ô--
>  K e V i N
>
>
> Le 30/04/2011 19:59, Cyrille a écrit :
>> Dear all,
>>
>> Until now, I was using the version 1.0.66.0 from phxsoftware website.
>> I would like now to upgrade to version 1.0.71.0 as my software seems
>> to have a bug linked to the dll.
>>
>> To use the last version with my application, I have proceeded like I
>> did with the phxsoftware website. I have downloaded and run the
>> precompiled Binaries For Windows
>> (http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki).
>> Then, I opened the folder C:\Program Files\System.Data.SQLite\bin and
>> copied-pasted the files SQLite.Interop.dll and System.Data.SQLite.dll
>> in the "bin" folder of my VB Express application. I have opened my
>> application under VB 2008 Express, remove the previous reference of
>> SQLite and added the new one.
>>
>> Unfortunately, when I run the application with VB Express, an error is
>> raison when opening the connection with the DB: the file
>> SQLite.Interop.dll. Re-building the solution did not fixe the issue.
>>
>> I read that the SQLite.Interop.dll file is not necessary for desktop
>> application (which is my case) but used in debug mode. However, how to
>> specify to VB Express 2008 where is located this file?
>>
>> I am sorry if my question is stupid but I really would like to
>> continue updating the SQLite dll in my application.
>>
>> I thank you in advance for your kind support
>>
>> Regards,
>>
>> Cyrille
> ___
> 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] 1.0.71.0 and VB 2008 Express Edition - SQLite.Interop.dll cannot be found

2011-05-07 Thread Cyrille
Dear all,

Sorry to send again my previous email (cf. below) but as I did not 
receive any answer, I am wondering if my question was stupid or if 
nobody could help me. Thank you very much in advance for your kind answers

Regards,
Cyrille


Le 30/04/2011 19:59, Cyrille a écrit :
>
> Dear all,
>
> Until now, I was using the version 1.0.66.0 from phxsoftware website. 
> I would like now to upgrade to version 1.0.71.0 as my software seems 
> to have a bug linked to the dll.
>
> To use the last version with my application, I have proceeded like I 
> did with the phxsoftware website. I have downloaded and run the 
> precompiled Binaries For Windows 
> (http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki). 
> Then, I opened the folder C:\Program Files\System.Data.SQLite\bin and 
> copied-pasted the files SQLite.Interop.dll and System.Data.SQLite.dll 
> in the "bin" folder of my VB Express application. I have opened my 
> application under VB 2008 Express, remove the previous reference of 
> SQLite and added the new one.
>
> Unfortunately, when I run the application with VB Express, an error is 
> raison when opening the connection with the DB: the file 
> SQLite.Interop.dll. Re-building the solution did not fixe the issue.
>
> I read that the SQLite.Interop.dll file is not necessary for desktop 
> application (which is my case) but used in debug mode. However, how to 
> specify to VB Express 2008 where is located this file?
>
> I am sorry if my question is stupid but I really would like to 
> continue updating the SQLite dll in my application.
>
> I thank you in advance for your kind support
>
> Regards,
>
> Cyrille
>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] 1.0.71.0 and VB 2008 Express Edition - SQLite.Interop.dll cannot be found

2011-04-30 Thread Cyrille
Dear all,

Until now, I was using the version 1.0.66.0 from phxsoftware website. I 
would like now to upgrade to version 1.0.71.0 as my software seems to 
have a bug linked to the dll.

To use the last version with my application, I have proceeded like I did 
with the phxsoftware website. I have downloaded and run the precompiled 
Binaries For Windows 
(http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki). 
Then, I opened the folder C:\Program Files\System.Data.SQLite\bin and 
copied-pasted the files SQLite.Interop.dll and System.Data.SQLite.dll in 
the "bin" folder of my VB Express application. I have opened my 
application under VB 2008 Express, remove the previous reference of 
SQLite and added the new one.

Unfortunately, when I run the application with VB Express, an error is 
raison when opening the connection with the DB: the file 
SQLite.Interop.dll. Re-building the solution did not fixe the issue.

I read that the SQLite.Interop.dll file is not necessary for desktop 
application (which is my case) but used in debug mode. However, how to 
specify to VB Express 2008 where is located this file?

I am sorry if my question is stupid but I really would like to continue 
updating the SQLite dll in my application.

I thank you in advance for your kind support

Regards,

Cyrille

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