RemoveGlobalRef

PowerBuilder Native Interface

IPB_Session interface:

RemoveGlobalRef method

Description

Syntax

RemoveGlobalRef (pbobject  obj)

Return Values

Examples

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

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

See Also