A string.
An optional refiid giving the name of the COM interface return.
A boolean. The default value is
t
.
The function
get-object
finds an existing object named by
name
in the Running Object Table or activates the object if it is not running.
get-object
returns an interface pointer for the object's
riid
interface. If
riid
is
nil
, then i-unknown is used.
If an error occurs, an error of type com-error will be signalled if
errorp
is non-nil, otherwise
nil
will be returned.
If
C:\temp\spreadsheet.xls
is open in Microsoft Excel 2007, then its WorkBook interface can be obtained using
(get-object "c:\\Temp\\spreadsheet.xls"
:riid 'i-dispatch)
LispWorks COM/Automation User Guide and Reference Manual - 19 Dec 2011