ReleaseValue

PowerBuilder Native Interface

IPB_Session interface:

ReleaseValue method

Description

Syntax

ReleaseValue(IPB_Value* value)

Return Values

Examples

// Acquire a value
MessageArg = session->AcquireValue
   ( ci->pArgs->GetAt(0) );
pbstring pbMessage = MessageArg->GetString() ;
Message = (LPSTR)session->GetString(pbMessage) ;
...
// Cleanup phase
if (MessageArg)
{
   Session->ReleaseValue ( MessageArg ) ;
}

Usage

See Also