Contents Previous Next

Creating O-Matrix DLL Functions

Description
You can link DLL functions with O-Matrix. These functions behave just like functions written in O-Matrix but they are written in C++. (Note that you may write compiled functions in C or FORTRAN but they must be called from C++ functions as described in this section.) The first section below explains how to link a DLL function that has already been compiled into a library. The second section specifies how to write a DLL function in C++. The next two sections are simple examples in which the source code is included in the help files. The last two sections are more involved examples for which the source code is not included in the help file.

Contents
Linking A Compiled Function
Writing An O-Matrix DLL Function in C++
C Structure That Defines A Matrix
A DLL That Computes The Maximum Of Each Column
A DLL That Computes The Maximum Of Each Row