API .hxx Header File
List of: Discussion Topic
Subjects: Extending ACIS, C++ Interface
Contents: Application Development Manual


1. Edit the API header file that exists in the source directory in which the .cxx file was created or, if one does not already exist, create a header file in this directory.


The header file is named <dir_name>/<hdr_name>.hxx, where <dir_name> is the name of the source code directory in which the API source code .cxx file is located and <hdr_name> is the name of that directory's API header file.


2. Place the prototype for the API function into the header file.


For support of DLLs, the declaration of the API (prototype) must be prefaced by its appropriate DECL_<MODULE> macro, where <MODULE> is an abbreviation for the module (component). Refer to Chapter 3, Object Libraries, for more information.
PDF/APPDEV/08EXT.PDF
HTM/DATA/ACIS/APPDEV/08EXT/0009.HTM