Menu

DB - Please help me.

2002-11-03
2012-09-26
  • Nobody/Anonymous

    Hi,

    I've searched in this forum and on the internet and I didn't find.  I want an example of code to connect from Dev-C++ code to a MsAccess database.  Please somebody help me.  I just need the code to make the connection.

    Thanks in advance.

     
    • Nobody/Anonymous

      No " Dev-C++ code "... it is only the IDE for the gcc compiler.

      j@ck_

       
    • Nobody/Anonymous

      If you want to access a database in general you can use ODBC. It works with MS Access as well. (The alternative is to use Micro$oft's COM which is no easy task.)

      I posted something on the Web which shows the basic code on how to use ODBC with C/C++.

      It comes with sample databases and test program so you should have enough to get started. If you can figure out what the hell the code is doing then.....

      BlakJak  :]

      http://blakjak.port5.com/ and follow the links to ODBC on the left. For some reason the site is down at the moment. Must be back-up time.

       
    • Nobody/Anonymous

      Thanks, I'm gonna look at this when I'll get access to the site.

      Have a nice day.

       
    • Nobody/Anonymous

      Thanks, I'm gonna look at this when I'll get access to the site.

      Have a nice day.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.