Generated Interface Code

Interface code must be generated for each custom visual part used. For each part processed, VisualAge creates a C++ code file (.cp). You then have to compile this file into the interface DLL needed for behavioral support in the Composition Editor.

The generated code uses types defined in the iavlbase.h header file. The most significant of these is AvlObject, a void pointer used to return an instance of your custom visual part to the Composition Editor. The part is instantiated in a constructor-within-a constructor, a function called ClassNameClassName.


Related concepts
About Implementing Custom Visual Parts
Generated Code

Related procedures
Generating User Interface Source
Deriving from Visual Classes