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-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?
>>>>>
>>>>> 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-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-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

Reply via email to