This did not solve the problem?

The machine compile and running the process and dll is the same.  It is a 
Windows 7 64 bit machine
The target is x64.  The process and dll both have enable native code debugging 
turned on under the projects properties debug tab.  The Dll is referencing the 
90 sqllite

The computer has sqllite 66 and 90 in the assemble

Help?

Bye
Jill

-----Original Message-----
From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] 
On Behalf Of Joe Mistachkin
Sent: Saturday, January 10, 2015 1:05 PM
To: 'General Discussion of SQLite Database'
Subject: Re: [sqlite] Win 64 SQLLite 90 - badimageformatexception


Taylor, Jill (RBI-US) wrote:
>
> My application calls a DLL that uses the sqllite dll to open a database.
However,
> when I am debugging I get the BADImageFormatException error "An 
> attempt
was made
> to load a program with an incorrect format error"
> 

These are typically caused by a 32-bit versus 64-bit mismatch between the 
process and the DLL to be loaded.

Please see the following pages for information on how to address these types of 
issues:

        'Why do I get a BadImageFormatException (for "sqlite3.dll" or
        "SQLite.Interop.dll") when trying to run my application?'

        https://system.data.sqlite.org/index.html/doc/trunk/www/faq.wiki#q12

        'Using Native Library Pre-Loading'

        
https://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki#nativ
eLibraryPreLoading
 
--
Joe Mistachkin

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

DISCLAIMER
This message is intended only for the use of the person(s) ("Intended 
Recipient") to whom it is addressed. It may contain information, which is 
privileged and confidential. Accordingly any dissemination, distribution, 
copying or other use of this message or any of its content by any person other 
than the Intended Recipient may constitute a breach of civil or criminal law 
and is strictly prohibited. If you are not the Intended Recipient, please 
contact the sender as soon as possible.
Reed Business Information Limited. Registered Office: Quadrant House, The 
Quadrant, Sutton, Surrey, SM2 5AS, UK. 
Registered in England under Company No. 151537

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

Reply via email to