BeerNutts: but if it blocked, wouldn't that cause it to load and not respond? What I'm seeing is that it just shows me the form and allows me to keep clicking buttons and things, and they work, but it just doesn't seem to execute the rest of the code in whatever function I make a call to the DLL from.
And actually, I'm trying to set up a new database. This is all just a test for now - I'm trying to figure out how to use SQLite. But I've followed examples and it just doesn't work. The cs variable is "URI=File:test.db", and supposedly that will create the file that doesn't already exist, won't it? So that I can have a new database? (Actually, I'm not even sure what directory it's referring to, so I have no idea where the file is or is supposed to be, but I was told this would work).
imoogiBG: It's not throwing any exceptions, and there aren't any unhandled ones or anything, so I'm not sure how it could be a problem, or are you saying that it's not throwing an exception at all, because I disabled it? That doesn't sound right. If the code throws an exception, it would be thrown. But I'll check anyway.
Update: I tried enabling the exceptions, and now when it gets to that line, it says "Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)". I already had System.Data.SQLite imported into the project, but none of the other DLLs that came with it (I wasn't entirely sure whether or which ones I would need).
But then When I tried to import that DLL, I got an error that said something like "A reference to blah blah could not be added. Please make sure it's accessible and a valid assembly or COM component." So it's implying it's somehow incompatible, even though the first DLL was imported with NO problem at all, and they were from the same ZIP file I got directly from SQLite's website! How can that happen?