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

Reply via email to