Defining the component interface

When you build a PowerBuilder custom class user object as a COM component, the functions and optionally the instance variables defined for the object appear in the component interface. PowerBuilder generates an IDL file that defines a COM class and a single interface for each custom class user object contained in the server, as well as a type library name and an associated ID for the PowerBuilder COM server.