PBCallInfo structure

PowerBuilder Native Interface

PBCallInfo structure

IPB_Arguments*   pArgs;
IPB_Value*           returnValue;
pbclass                   returnClass;
pbclass cls;
pbmethodID mid;
PBCallInfo* ci = new PBCallInfo;

cls = Session -> GetClass(myobj);
mid = Session -> GetMethodID(cls, "myfunc",
   PBRT_FUNCTION, "II");

Session -> InitCallInfo(cls, mid, ci);
Session -> FreeCallInfo(ci);
delete ci;