Answer the question
In order to leave comments, you need to log in
How to connect SQLite to Visual C++ (MS Visual C++ 2010)?
I'm making an interface for working with a database. Windows Forms project.
Downloaded sources from site sqlite.org/download.html (sqlite-amalgamation-3080301.zip).
I add header files and source code files to the project (I specify in them that it is necessary to compile as C ++ code (/TP)) - it produces a huge bunch of errors in the source codes, and at the end:
fatal error C1903: unable to recover from previous errors; stop compilation
Answer the question
In order to leave comments, you need to log in
msdn.microsoft.com/en-us/library/bb882660%28v=vs.1... if not
then technet.microsoft.com/en-us/ms772425?WT.mc_id=SMCf...
Maybe on the contrary, you need to specify that you need to compile as C code, and not C ++ (Compile as C Code (/TC)). I also think you need to disable the use of Precompiled Headers in sqlite.c (Not Using Precompiled Headers)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question