Calling 'c' APIs

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

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.

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

cheers

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

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