PowerBuilder to PBNI datatype mappings – PB Docs 125
PowerBuilder to PBNI datatype mappings The following table maps PowerBuilder datatypes to predefined datatypes used in PBNI C++ modules. Table 6-1: Predefined datatype mappings PowerBuilder datatype Predefined datatype Int pbint Uint pbuint Byte pbbyte Long pblong Longlong pblonglong Ulong pbulong Boolean pbboolean Real pbreal Double pbdouble Decimal pbdec Date pbdate Time pbtime DateTime pbdatetime Char…
PBNI enumerated types – PB Docs 125
PBNI enumerated types Enumerated types for PowerBuilder groups The pbgroup_type enumerated types are used in IPB_Session FindGroup calls to identify the type of group required. Table 6-3: Enumerated types for PowerBuilder groups Value PowerBuilder object pbgroup_application Application pbgroup_datawindow DataWindow definition pbgroup_function Global function pbgroup_menu Menu pbgroup_proxy Proxy definition for a remote object pbgroup_structure PowerBuilder structure…
Types for access to PowerBuilder data – PB Docs 125
Types for access to PowerBuilder data The types in the following table enable access to PowerBuilder data. Table 6-2: Types for access to PowerBuilder data Datatype Description pbgroup Used to access PowerBuilder group information. A group is a container of PowerBuilder classes. pbclass Used to access PowerBuilder class definition information. pbmethodID Used to access the…
Error return values – PB Docs 125
Error return values The following table shows the PBXRESULT return values and error codes returned from PBNI methods. Table 6-6: PBXResult return values Value of PBXResult Error code PBX_OK 0 PBX_SUCCESS 0 PBX_FAIL -1 PBX_E_NO_REGISTER_FUNCTION -1 PBX_E_REGISTRATION_FAILED -2 PBX_E_BUILD_GROUP_FAILED -3 PBX_E_INVALID_ARGUMENT -4 PBX_E_INVOKE_METHOD_INACCESSABLE -5 PBX_E_INVOKE_WRONG_NUM_ARGS -6 PBX_E_INVOKE_REFARG_ERROR -7 PBX_E_INVOKE_METHOD_AMBIGUOUS -8 PBX_E_INVOKE_FAILURE -9 PBX_E_MISMATCHED_DATA_TYPE -10 PBX_E_OUTOF_MEMORY…
The PBNI SDK – PB Docs 125
The PBNI SDK When you install PowerBuilder, the Software Development Kit (SDK) for PBNI is installed in the PowerBuilder 12.50SDKPBNI directory. The SDK tools, pbsig125 and pbx2pbd125, are also installed in the SharedPowerBuilder directory so that they are available in your path. The SDK contains the components shown in the following table. Table 1-1: Contents…
AcquireValue – PB Docs 125
IPB_Session interface: AcquireValue method Description Clones the data in the PBCallInfo structure and resets the IPB_Value pointer. Syntax
|
1 |
AcquireValue ( IPBValue* <span>value</span> ) |
Argument Description value The value to be returned Return Values IPB_Value*. Examples The AcquireValue method is used to obtain a message argument value. Later, when the value is no longer needed, it is released using ReleaseValue…