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