I'm testing a connection in a project targeting the Compact Framework and I
get exceptions that seem to point to a 32 bit vs 64 bit problem. I
downloaded these binaries:

sqlite-netFx35-binary-PocketPC-2008-1.0.84.0.zip

and I am using .NET 3.5 and a 32 bit Vista system. After failing for days I
used the "regular" Windows version. This:

sqlite-netFx35-binary-Win32-2008-1.0.84.0.zip

and my project ran on the first try, without changing anything. Well,
except the dlls of course.

I'm using C# by the way, whose vague exceptions have been really helpful in
figuring out what's wrong. (Sorry for the rant, C# aficionados)

Would it be possible those Compact Framework binaries have some kind of
error? Maybe they were developed for 64 bit systems? Is there another
version I could use?

The exceptions I get are:

System.BadImageFormatException: An attempt was made to load a program with
an incorrect format. (I looked around for this and read it had to do with
the 32 bit vs 64 bit issue)

And sometimes:

Can't load file SQLite3.cs under c:\dev\sqlite\dotnet\System.Data.SQLite.
(this path is not in my system, and I don't know what or where SQLite3.cs
is. )

I've looked around on google and forums without any luck, and I'm still
waiting for the email that lets me activate my account in the SQLite forums
(I registered 2 days ago, with two separate mail accounts), so please, if
anyone has any information at all that can help with this issue, please let
me known. Maybe another version? Another distribution? Even a different
database manager.

  Thanks a lot for your help,


  Christian Morlotte
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to