Thanks. That took care of it. I'm revamping a Windows app that I wrote 6 
or 7 years ago and that was the last time I used Visual C++ for much of 
anything. I just wasn't sure about mixing C and C++ code in a single build.

Doug Gordon
*GHCS Software*
<http://www.ghcssoftware.com>

From: Jim Morris <jmor...@bearriver.com>

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

Reply via email to