Many thanks for all your efforts and advice.
I ran ildasm.exe on my project's exe. Manifest showed it was being compiled using IL ONLY, ie targetted for any CPU.
Have tried installing on Windows 7 64 bit machine in different locations, including under Program Files (X86). Also tried swapping the SQLite dll for the x64 version. Could not get either to work.
My application loads data right at start, in the main form Load event. When trying to run on 64 bit Windows 7 machine, a rather generic error message briefly appeared, then nothing!
I have a trial database programme created with Visual Studio 2005 Express (on my 32 bit Windows XP machine) that allows the user to prepare text from a document or e-mail, then insert it into a SQLite database.
This initially starts OK on the 64 bit Windows 7 machine, but crashes when attempting to connect to the database and insert data. This causes the following error message to be shown:
System.BadImageFormatException: Could not load file or assembly 'System.Data.SQLite, Version=1.0.47.1, 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.47.1, Culture=neutral, PublicKeyToken=db937bc2d44ff139'
I think I will try to explore the meaning of this next, perhaps forget 64 bit for the moment!
Once again, thank you for all your help.