Calling 'c' APIs

  1. 6 months ago

    Can a xojo program call out to eg a 'c' API? for example a database connector API (I don't mean via ODBC but natively or via some connector utility? I can't seem to find anything in the docs or by searching the FAQs or searching the forums

  2. Tim P

    19 Apr 2017 Pre-Release Testers, Xojo Pro ⭐️

    You can write plugins with the Plugin SDK included in the Xojo download, or you can use what we call a Declare to use system APIs.

    Which will be easier depends on what you're trying to do.

  3. Many thanks for such a quick response, I will look into both and decide

    cheers

  4. there used to be an entire connector to postgresql (pgsql4rb) that is / was all declares into the postgres libraries
    and one for firebird I think

    definitely possible

  5. Alwyn B

    20 Apr 2017 Pre-Release Testers Johannesburg, South Africa
    Edited 6 months ago by Alwyn B

    @David M Can a xojo program call out to eg a 'c' API?

    David, here is a very basic example on how to call a 'C' function from Xojo. Thought it might be helpful.

    https://forum.xojo.com/16595-import-c-function-in-xojo/0

or Sign Up to reply!