1 ianalyzeradapter interface, 1 ianalyzeradapter::createobject, Ianalyzeradapter interface – Teledyne LeCroy UWBTracer Automation Manual User Manual
Page 84: Ianalyzeradapter::createobject

LeCroy
UWBTracer Automation API Reference Manual
Manual Version 3.02
80
8.1 IanalyzerAdapter Interface
8.1.1 IAnalyzerAdapter::CreateObject
HRESULT CreateObject ([in] BSTR class_id,
[in,optional]
BSTR
host_name,
[out, retval] IDispatch** ppNewObj );
This method instantiates the LeCroy analyzer object on a local or remote machine and attaches it to the
adapter.
Parameters
class_id
String representation of classid, or ProgId
("clsid:EE43DE29-65CA-4904-B111-32919E00D061" or
"CATC.UWBAnalyzer" for LeCroy UWB analyzer)
host_name
Name of the remote server where the analyzer object should be
instantiated. Empty value means local host.
PpNewObj
Pointer to the created remote object, NULL if the object has not been
instantiated or accessed.
Return values
Remarks
Only LeCroy analyzer COM servers can be instantiated through this method. The method Detach (see
below) should be called when the work with the remote object is completed. (NOTE: The pointer returned
in ppNewObj should be released separately.)