Jump to content

IBM Open Class Library: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
Line 36: Line 36:
==Related Articles==
==Related Articles==
* [[Open Class Library (OCL) FAQ]] by [[Stéphane Charette]] (Nov 1997)
* [[Open Class Library (OCL) FAQ]] by [[Stéphane Charette]] (Nov 1997)
==Links==
* [http://www-01.ibm.com/support/docview.wss?uid=swg27001511 IBM Open Class Library Transition Guide]


[[Category:C++ Class Libraries]]
[[Category:C++ Class Libraries]]

Revision as of 00:01, 15 November 2019

This C++ class library provides a whole set of different functionality:

  • First of all a full OS/2 GUI support: from PM windows and messaging to standard and extended controls up to generating resizeable dialogs and 2D graphics output.
  • Application control, error handling and threading
  • Collections (flat and tree), supporting several implementation variants, together with helper classes (cursors, automatic pointers etc.)
  • Complex mathematics
  • Database access

Note: Printing is not supported out of the box: You would have to code everything to getting a "printing device context" directly in C, then you can use the 2D graphics functionality of IOCL to output your data to the printer.

The class library implements (besides the PM "messages" support) an own messaging system that allows all kinds of "objects" to "notify" any other "observers" about anything that might be interesting. This mechanism is mainly designed to being used with the IBM VisualAge C++ 3.0 Visual Builder, but it is also helpful when directly used.

There are two versions of this class library available for OS/2 that come with IBM VisualAge C++ 3.0 or IBM VisualAge C++ Professional 4.0, respectively. There are major changes from version 3.0 to 4.0 incorporated, so the two are not easily compatible, mainly not when switching from a 4.0 project to 3.0.

License

VisualAge C++ 3.0
Name Description Comments
CPPOM30.DLL It must be DLLRNAME'd to be redistributed with other software
CPPOOB3.DLL
CPPOOU3.DLL
Name Comments
OS2OOOC.DLL
OS2OOR3U.DLL Resource DLL
OS2OM30.DLL Redistributable DLLRNAME'd from CPPOM30.DLL.

Related Articles

Links