NewObject

PowerBuilder Native Interface

IPB_Session interface:

NewObject method

Description

Syntax

NewObject(pbclass cls)

Return Values

Examples

pbclass cls;
pbobject ex;
pbgroup group;

group = session-> FindGroup
   ("user_exception", pbgroup_userobject);
if (group==NULL)
   return;
cls = session->FindClass(group, "user_exception");
if (group==NULL)
   return;
ex = session->NewObject(cls);

Usage

See Also