Exported methods

PowerBuilder Native Interface

Exported methods

Description

The following table lists methods that must be implemented in the PowerBuilder extension module when the conditions shown in the table apply. The methods are described after the table. The PBX_GetVersion method is used by PowerBuilder to determine whether the compiler macro UNICODE or _UNICODE has been set. It is for internal use only.

Methods

Table 7-12: Methods that must be exported by all extensions

Method

Required

PBX_CreateNonVisualObject

When the extension contains nonvisual native classes

PBX_CreateVisualObject

When the extension contains visual native classes

PBX_DrawVisualObject

When you want to be able to draw a visual representation of the visual object in the PowerBuilder development environment

PBX_GetDescription

In all extensions

PBX_InvokeGlobalFunction

When the extension contains global functions

PBX_Notify

When you need to initialize and uninitialize a session