AddLocalRef

PowerBuilder Native Interface

IPB_Session interface:

AddLocalRef method

Description

Syntax

AddLocalRef (pbobject  obj)

Return Values

Examples

void MyPBNIClass::reference()
{
   d_session->AddLocalRef(d_pbobject);
}

void MyPBNIClass::unreference()
{
   if(d_pbobject != NULL)
      d_session->RemoveLocalRef(d_pbobject);
}

See Also