Jump to content
  • Advertisement
Sign in to follow this  
chrpeter

SQLite With Windows Forms Problem

This topic is 3348 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am trying to implement SQLite with a Windows Forms C++ (VS2008) project that I am working on and for some reason when I add the required SQLite files to the project (sqlite3.h, sqlite3ext.h, and sqlite3.c) I get the following error: "Error 1 Command line error D8045 : cannot compile C file '.\sqlite3.c' with the /clr option" I disabled pre-compiled headers but still no luck Seems odd that SQlite does not work with Windows Forms considering that would be the most common place to use a data base. PS. Any non clr project works fine...I have all the data base code finished...I just need to implement it into my appointment keeper but no luck. Thanks for the help.

Share this post


Link to post
Share on other sites
Advertisement
That's a managed library, so it will work with C++/CLI (i.e. a Windows Forms C++ application).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!