Hi I have application compiled under Visual Studio 2012 on a Window 7 64 bit machine. I am trying to use the sqllite dll .90.
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" This worked fine with version 66 but we are trying to upgrade. The visual studio exe and dll are both set to target x64. The error occures when I call "new sqliteHandler(sqlitecnx)" to open a database. When I first tried, the application complained about missing interop dll. I copied the sqllite.inerop.dll in both bin\debug directories. Now I get the above error about BADImageFormatException error Below are some screen shot. Any help would be appreciated Bye Jill 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