IsNativeObject
From PowerBuilder Native Interface
IPB_Session interface:
IsNativeObject method
Description
Syntax
IsNativeObject(pbobject obj)Return Values
Examples
long f_getrow(IPB_Session* session, pbobject dwObj,
pbobject extObj)
{
long lRet;
Imy_pbni* pImy_pbni = NULL;
IPBX_NonVisualObject* pp=NULL;
if (session -> IsNativeObject(extObj) )
{
pp = (IPBX_NonVisualObject*) session ->
GetNativeInterface(extObj);
pImy_pbni = static_cast<Imy_pbni*>(pp);
lRet = pImy_pbni-> f_GetRowCount(session, dwObj);
}
return lRet;
}