This sample opens and connects to a database from a single task. The application simply demonstrates the use of functions
mco_db_connect()
andmco_db_disconnect()
.
See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the
\target\bin
directory:03_connect_single_taskBut it is more instructive to run it in your development environment debugger, stepping through the code.