
instalace SQLite-1.0.64.0-binaries.zip
Múžete mi poradit jak se instaluje SQLite binaries.zip ?Mám tento problém,našel jsem řešení, ale text je jen v angličtině a nejsem z toho moc chytrej.
Problém-konflikt:
My application is targeted at 'any CPU' and Frameworrk 2.0. A customer running the 64-bit version of Windows 7 Ultimate 64bit is getting the following error:
BadImageFormatException: Could not load file or assembly
'System.Data.SQLite, Version=1.0.64.0, Culture=neutral,
PublicKeyToken=db937bc2d44ff139' or one of its dependencies. An attempt was
made to load a program with an incorrect format.
File name: 'System.Data.SQLite, Version=1.0.64.0, Culture=neutral,
PublicKeyToken=db937bc2d44ff139'
Řešení:
The problem comes from the fact that System.Data.SQLite is a wrapper arround an unmanaged dll SQLite.dll.
In order to reduce deployment issues, System.Data.SQLite include the unmanaged dll as a resource.
The standard download includes the 32-bit mode dll of SQLite.
When an application build with target "any CPU" is run on a 64-bit OS, the application runs in 64-bit mode.
When a call is done to System.Data.SQLite, the application tries to load the unmanaged 32-bit and thus the exception.
You can do 2 things :
- Download the 64-bit version of System.Data.SQLite. This includes the 64-bit version of the unmanaged dll and so will run on 64-bit systems.
This will not run on 32-bit OS, so you will have to make a special build for each OS.
- Build your application with target x86. This will force 32-bit mode even on 64-bit OS.
This allows you application to run on both 64 and 32 bit OS.
You can also request a new feature, but I don't know if that is even possible :
Include both 32 and 64 -bit unmanaged dll's and at runtime determine the mode the application runs in.
Nainstalované mám Windows 7 Ultimate 64bit
To druhé chybové hlášení se týká emailu-Thunderbirdu, tam také nevím co s tím, abych to napravil.
Děkuji všem předem za pomoc.