Apologies...I should have mentioned version. This post was from 3.34, which I believe is the latest. I had added #define SQLITE_DEBUG 1 and had it commented out so things may have shifted one or two lines. As mentioned, the same thing happens if I open old copies of this project with older versions. Exact same errors. By defining SQLITE_DEBUG it compiles. The puzzle for me is why it worked one day but when I opened it up a few days later this starts happening without any recallable changes to VS settings, including all the old projects. Assuming I understand, I am trying to do a Release build and not a Debug. I did try undefining _DEBUG but didn't make a difference, assuming I did that right. Don't want to waste more of anyone's time. Just stuck as the issue makes no sense. Really need to get a fix out to users but no way forward that I can find. What are the downsides of posting a version where SQLITE_DEBUG is enabled? Thanks again all. Jim