AcquireValue

PowerBuilder Native Interface

IPB_Session interface:

AcquireValue method

Description

Syntax

AcquireValue ( IPBValue* 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