Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

ODBC library for C?

  • 12-09-2005 03:59AM
    #1
    Registered Users, Registered Users 2 Posts: 1,709 ✭✭✭


    Does anyone know a free ODBC C library I can download? I need to do a little cruddy-old-unmaintained software to database project.

    While we're here, does anyone know a good central repository of C resources? like cpan for C?


Comments

  • Closed Accounts Posts: 4,943 ✭✭✭Mutant_Fruit


    Check out SQLite. Afaik its written in C, so you should have no problem integrating it. Its a damn findy databasing app. Used it myself in a recent project.


  • Registered Users, Registered Users 2 Posts: 1,709 ✭✭✭Balfa


    Does that need a DLL installed on the client in addition to my app? I dunno if I can do that :/

    I just looked it up and can't find any headers or documentation for actually using its API... Am I missing the point?


  • Closed Accounts Posts: 4,943 ✭✭✭Mutant_Fruit


    Are you writing a cruddy old app to network with an existing database? Or are you writing a cruddy old app which needs a database? I thought you meant option 2, and i was suggesting you could use SQLite as your databasing program.

    SQLite is a database engine. Maybe that ain't what you're looking for. Are you looking for a library of some sort that allows easy access to connect to an OBDC connection?


  • Registered Users, Registered Users 2, Paid Member Posts: 2,427 ✭✭✭ressem


    I assume you're using Windows. Then your first step is to download the MDAC SDK, in amongst .
    http://msdn.microsoft.com/data/mdac/downloads/default.aspx

    There is a sample c program and the same docs that you can find on the MSDN site regarding odbc.


Advertisement
Advertisement