Calling 'c' APIs

  1. last year

    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, XDC Speakers

    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


  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, Xojo Pro Johannesburg, South Africa
    Edited last year

    @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.

or Sign Up to reply!