Thanks for the link. I ran the tool on sqlite.dll and got the following error:
IESHIMS.DLL Error opening file. The system cannot find the file specified (2). Warning: At least one delay-load dependency module was not found. Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module. Unfortunately this means nothing to me. I can tell you that there are two copies of the file on this PC and one of them - 'C:\Windows\winsxs\amd64-microsoft-ie-ieshims.......' presumably gets called on a 64 bit PC. Thanks for the help. If you've any other ideas then please let me know. On 20 February 2012 12:24, Joe Mistachkin <sql...@mistachkin.com> wrote: > > David Horne wrote: > > > > I get the following runtime error - > > > > System.InvalidOperationException was unhandled > > Message=An error occurred creating the form. See > Exception.InnerException > > for details. The error is: > > > > Could not load file or assembly 'System.Data.SQLite, Version=1.0.79.0, > > Culture=neutral, > > > > PublicKeyToken=db937bc2d44ff139' or one of its dependencies. An attempt > was > > made to load a program with > > > > an incorrect format. > > Source=TestApp > > > > > > I used this download - sqlite-netfx40-setup-bundle-x64-2010-1.0.79.0 - > and > > installed it without difficulty on a 64 bit Windows 7 PC. > > > > Can you run this tool on the installed System.Data.SQLite.dll and see if it > complains about any missing dependencies? > > http://www.dependencywalker.com/ > > -- > Joe Mistachkin > > _______________________________________________ > 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