This can happen if you're accessing the precompiled sqlite library from a 64-bit application. The binary provided by sqlite.org is 32-bit. A lot of .NET managed people get tripped by this, since .NET programs are (by default) compiled as "Any CPU" which means on a 64-bit machine, the .NET program runs in 64-bit.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ti Ny Sent: Tuesday, November 25, 2008 6:00 AM To: sqlite-users@sqlite.org Subject: SPAM: [sqlite] sqlite3_open16 fails on Windows Vista 64b I am getting an exception: An attempt was made to load a program with a incorrect format. (HRESULT: 0x8007000B) when I am trying to use sqlite3_open16 on Windows Vista 64b. On 32b or XP 32bit it works correctly. _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx& mkt=en-us _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users