C++ API

C Styled Script
Reference Manual

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using The CSS Executive
Language
Directives
System Library
String Library
Regular Expression Lib.
File Library
Database Library
C API
C++ API
   Embedding CSS
   Writing Libraries
   API Reference
CSS Links
  

The C++ API is in fact the native interface of CSS implemented in OO using IBM's open class library (OCL). The C API described in the previous chapters is a wrapper to hide the OO implemention of CSS and provide a common interface to other compilers. The C++ interface has therefore less overhead besides being more comfortable to use.

Currently supported compilers:

  • VisualAge C++ for OS/2 V3.0 + fp8 (US Version)

  • VisualAge C++ for Windows V3.5 + fp7 + post-fp6-5 (US Version)

Due to IBM license policies the runtime libraries had to be renamed for the distribution of CSS. For development you'd probably like them renamed back to the original names to share the same set of dll's for CSS and your application.

You can do this if you change to the CSS\OS2 or CSS\WIN directory respectively and run DLLREN.CMD or DLLREN.BAT. DLLREN will rename the libraries back to the original names, or forth to the distribution names, depending on the current state.

DLLREN will only work properly if:

  • It is run from the CSS\OS2 or CSS\WIN directory respectively.
  • DLLRNAME.EXE is found in PATH.
  • All .EXE and .DLL files of CSS are in the current directory.

Make sure the CSS\WIN or CSS\OS2 directory is behind the DLL directories of VisualAge in LIBPATH (OS/2) or PATH (Win32).

NOTE: Im not sure if the CSS binaries will work properly with DLL's of other versions or fixlevels of VisualAge C++. If you have problems with this, rename the libraries back to the distribution names with DLLREN.
 Copyright © IBK LandquartLast revised by Peter Koch, 24.02.00<< Back  Top  Next >>