Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Building Your Application With SKC

Overview

SKC makes use of P6Platform's COM architechure, providing multi-platform component libraries that are dynamically loaded.

We have provided simple helper code which you compile with your application to help make loading SKC components easy. This helper can be found in each platforms "src" directory (eg. installdir/linux/Linux2.6_x86_DBG_32bit.OBJ/src). SKC is dynamically loaded, there are no libraries to link directly to your applciation. You only need the SKC header files (and the helper code) to compile your application with SKC.

The source for the helper code can be viewed here: p6api.cpp The helper is just a thin wrapper which dynamically loads the SKC Loader and provides access the loaders "C" API. You can click the Load API link from top nav bar to view it's documentation.

Steps For Building With SKC

  1. Include p6skc.h in any source files that use SKC components.
  2. Include p6api.cpp in your application.
  3. Call p6InitializeLoader() in your code before using any SKC components.
  4. Call p6CleanupLoader() in your code after you are done using any SKC components.

If you have not already, you should read Loading Components for a simple example to get you started.