A string giving a CLSID to create.
A string giving a ProgID to create.
A CLSCTX value, which defaults to
CLSCTX_SERVER
.
Creates an instance of a coclass and returns its
i-dispatch
interface pointer. The coclass can be specified directly by using the
clsid
argument or indirectly using the
progid
argument, which will locate the CLSID from the registry.
The following are equivalent ways of creating an Microsoft Word application object:
(create-object :progid "Word.Application.8")
(create-object
:clsid "000209FF-0000-0000-C000-000000000046")