You need to use the project properties to set the file as a C file and to not use precompiled headers
On 7/13/2010 5:47 PM, GHCS Software wrote: > What do I need to do to get sqlite3.c to compile in a MFC C++ project > (Visual C++)? If I just add it to the project, I end up getting a > compile error something like: "Unexpected end of file while searching > for pre-compiled header directive". > > Do I need to rename it "sqlite3.cpp" and put the include of<stdafx.h> > at the top? Or what?? > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users