The following sample script will direct Display Calculator to peform the amazing feat of single digit multiplication. This becomes a problem when the user supplies an object class as an argument to MkOLEx. One need not worry about this when a module is generated from a type library, since the object class name is automagically extracted from the type library. OLE Interact routines The following routines interact directly with OLE objects. One should have a solid understanding of OLE programming concepts before attempting to use these routines.
All functions return true on success and false on failure.
Using the following routines, one can query type libraries for objects, create objects, enumerate methods and variables, and of course invoke any methods an object posseses. These routines are used by MkOLEx to build the Perl object interfaces to the OLE objects. If you're brave enough, browsing through the source code will give you an idea what extra functionality is provided. If you're brave enough, browsing through the source code will give you an idea what extra functionality is provided.