Using Simkin with your C++ application
Simkin for C++ is distributed in source code format. It has been written in C++
using templates.
Typically you build Simkin into a library to link with your application.
We supply some example project files which build a static library or dynamic library (Windows only).
-
Makefile - for use with Linux and gcc
-
Simkin.dsw - workspace for use with Visual C++ on Windows
-
SimkinCE.vcw - workspace for use with Embedded Visual C++ 3.0 for Windows CE
in all cases, you will have to add the correct include and libraries for your Xerces-C or Expat distribution.
Simkin source files and classes are all prefixed with "sk" to prevent name
clashes with classes in your own application.
Simkin is composed of a core interpreter, plus support for XML and our own "TreeNode" files.
Simkin supports three XML libraries:
- Expat - this is used in conjunction with Simkin's own XML Document Object Model classes. You need to obtain Expat separately from http://expat.sourceforge.net. The version currently integrated with Simkin is 1.95.5
- Xerces-C from the Apache Foundation. This library is also *not* included in the Simkin distribution, it can be obtained from http://xml.apache.org/xerces-c
The version currently integrated with Simkin is 2.1.0
Note for Visual C++ for Windows: you need to build your applications with Code Generation set to "Multithreaded DLL" when using the Xerces-c library
- Microsoft MSXML - from Microsoft Corporation. The library uses the COM classes from msxml.dll.
Note: this only works on Windows platforms.
Each file format has its own associated classes: