Results 1 to 4 of 4

Thread: Recommendation for SQLite in C++ in the style of RC6

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    761

    Question Recommendation for SQLite in C++ in the style of RC6

    Hello!

    While I am mostly using VB6 or TB, I have to use C++ to create a certain 64bit ATL COM DLL that the Speech Application Programming Interface (SAPI) can consume.
    This works fine.

    The problem that I have now is that I need to use SQLite within that COM DLL now.
    So far I have only used SQLite in VB6 via RichClient in VB6, so I am spoiled.

    I would like to ask how other people who might have the same problem / task have solved this problem.

    I guess I can make SQLite work with C++ (VS2022) and COM ATL DLL, but I guess it's a bigger task, especially because (as I said) I am so spoiled.

    Thank you!

  2. #2
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    6,167

    Re: Recommendation for SQLite in C++ in the style of RC6

    > The problem that I have now is that I need to use SQLite within that COM DLL now.

    This should be quite straighforward as sqlite is originally a C only project. Just include the amalgamated sources in your project and research its API to open/query dbfiles.

    cheers,
    </wqw>

  3. #3
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    5,261

    Re: Recommendation for SQLite in C++ in the style of RC6

    Quote Originally Posted by wqweto View Post
    This should be quite straighforward as sqlite is originally a C only project. Just include the amalgamated sources in your project and research its API to open/query dbfiles.
    Which is a quagmire of function-calls.
    I have looked at the sqlite-source, and I've never been more glad that there are smarter people than me....

    EDIT: Maybe here: https://github.com/SRombauts/SQLiteCpp
    Last edited by Zvoni; Jan 20th, 2025 at 02:48 AM.
    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ----------------------------------------------------------------------------------------

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    Code is like a joke: If you have to explain it, it's bad

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2017
    Posts
    761

    Re: Recommendation for SQLite in C++ in the style of RC6

    Thank you very much for the suggestion!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width