Re: [sqlite] Compiling as part of MFC C++ project

2010-07-14 Thread GHCS Software
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* From: Jim

Re: [sqlite] Compiling as part of MFC C++ project

2010-07-13 Thread John Drescher
>> 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". >> > > This is a basic Visual C++ question.

Re: [sqlite] Compiling as part of MFC C++ project

2010-07-13 Thread Jim Morris
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

Re: [sqlite] Compiling as part of MFC C++ project

2010-07-13 Thread John Drescher
> 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". > This is a basic Visual C++ question.

[sqlite] Compiling as part of MFC C++ project

2010-07-13 Thread GHCS Software
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