SetMarshaler

PowerBuilder Native Interface

IPB_Session interface:

SetMarshaler method

Description

Syntax

SetMarshaler(pbproxyObject obj, IPBX_Marshaler* marshaler)

Return Values

Examples

// Create JavaMarshaler
JavaMarshaler* marshaler = new JavaMarshaler(env,
   proxy, jobj);

// Associate the JavaMarshaler with the PB proxy
session->SetMarshaler(proxy, marshaler);

ci->pArgs->GetAt(0)->SetObject(proxy);

ci->returnValue->SetLong(kSuccessful);
return PBX_OK;

Usage

See Also