




 
A string or a 
refguid
 giving a CLSID to create.
A COM interface pointer specifying the outer 
i-unknown
 if the new instance is to be 
aggregated
.
A CLSCTX value, which defaults to 
CLSCTX_SERVER
.
An optional 
refiid
 giving the COM interface name to return. If 
nil
, then 
i-unknown
 is used.
A boolean. The default is 
t
.
Creates an instance of the COM server associated with clsid and returns an interface pointer for its riid interface.
If the server cannot be started, then an error of type 
com-error
 will be signalled if 
errorp
 is non 
nil
, otherwise 
nil
 will be returned.
If unknown-outer is non nil, it will be passed as the outer unknown interface to be aggregated with the new instance.
Note: to create an 
i-dispatch
 interface and set an event handler, you can use create-instance-with-events.