Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

PB Docs 2022 – Page 15 – PowerBuilder Library

PB Docs 2022

GetGlobalVarType – PB Docs 2022

GetGlobalVarType Description Obtains the datatype of a global variable. Syntax

Argument Description fid The internal ID of the class instance variable Return value pbuint. A simple datatype defined in the list of pbvalue_type enumerated types. Examples This code tests getting and setting a global integer variable using the field ID fid:

See also…

PushLocalFrame – PB Docs 2022

PushLocalFrame Description Pushes a local reference frame onto the current native method stack frame. A local frame is analogous to a scope in C++. Syntax

Return value None. See also PopLocalFrame RemoveLocalRef Document get from Powerbuilder help Thank you for watching.

SetValue – PB Docs 2022

SetValue Description Sets the value for the specified name/value pair. Note Starting from Version 2022, the PBDOM_PROCESSINGINSTRUCTION object is no longer supported to add and modify the XML declarations. Use the PBDOM_DOCUMENT SetXMLDeclaration method to set the XML declaration instead of using SetValue. Syntax

Argument Description pbdom_pi_name The name of a PBDOM_PROCESSINGINSTRUCTION object strName…

IsNativeObject – PB Docs 2022

IsNativeObject Description Determines whether a pbobject is an instance of a native class. Syntax

Argument Description obj A valid object handle Return value pbboolean. Examples The f_getrow function uses IsNativeObject to test whether extObj is a native class. If so, it gets the native interface and invokes the f_getrowcount function in the other class:…

PBUnboundedObjectArrayCreator class – PB Docs 2022

PBUnboundedObjectArrayCreator class Contents GetArray SetAt Description The PBUnboundedObjectArrayCreator class is used to create an object array. Methods PBUnboundedObjectArrayCreator has two methods: GetArray SetAt Document get from Powerbuilder help Thank you for watching.

IPB_RSItemData interface – PB Docs 2022

IPB_RSItemData interface Contents SetData SetNull Description The IPB_RSItemData interface is used as an argument to the GetItemData function of IPB_ResultSetAccessor. Methods The IPB_RSItemData interface has two methods: SetData and SetNull. Document get from Powerbuilder help Thank you for watching.

Creating the C++ application – PB Docs 2022

Creating the C++ application Contents Load the PowerBuilder VM Call PB_GetVM to get a pointer to the IPB_VM interface Create an IPB_Session object within IPB_VM Create an instance of the PowerBuilder object Initialize the PBCallInfo structure Call the PowerBuilder function Write cleanup code To create the C++ application, follow these steps: Load the PowerBuilder VM…

GetEnumItemName – PB Docs 2022

GetEnumItemName Description Obtains the name of an enumerated variable. Syntax

Return value LPCTSTR. Usage When you have finished using the name, call the ReleaseString method to free the memory acquired. See also GetEnumItemValue ReleaseString Document get from Powerbuilder help Thank you for watching.

InvokeObjectFunction – PB Docs 2022

InvokeObjectFunction Description Invokes a class member method. Syntax

Argument Description obj The pbobject containing the method mid The pbMethodID returned by GetMethodID ci A pointer to a preallocated PBCallInfo structure Return value PBXRESULT. Returns PBX_OK for success, or one of the following for failure: PBX_E_INVALID_ARGUMENT PBX_E_INVOKE_METHOD_INACCESSABLE PBX_E_INVOKE_WRONG_NUM_ARGS PBX_E_INVOKE_REFARG_ERROR PBX_E_INVOKE_METHOD_AMBIGUOUS PBX_E_INVOKE_FAILURE PBX_E_INVOKE_FAILURE Examples This code…

GetDateTimeString – PB Docs 2022

GetDateTimeString Description Converts data in a pbdatetime object to a string. Syntax

Argument Description datetime The pbdatetime data object to be converted to a string. Return value LPCTSTR. See also NewDateTime ReleaseDateTimeString SetDateTime Document get from Powerbuilder help Thank you for watching.