Return a program interface reference (OLE)ΒΆ


Return a program interface reference



Returns a program interface reference to the current, active object that matches the supplied ole_id. This may be an OLE control created by the Sculptor program, or another currently running program that supports OLE. The operating system keeps a table of running objects. If there is more than one object of the same type in the system, this function returns a reference to the one that was most recently activated.

The reference may be stored in a temporary field with the special type o (object) or assigned directly to a suitable OLE control property. Assign NULL to the temp to delete the reference.


prog_ref = get_object(. . . .)


Object (o) type fields