Method of IWScript
Connects the object's event sources to functions with a given prefix
WScript.ConnectObject(pobjEventSource, strPrefix);
==== Visual Basic Script ====
WScript.ConnectObject pobjEventSource, strPrefix
==== C++ ====
HRESULT hr = WScript.ConnectObject(pobjEventSource, strPrefix);
===== See Also ===== IWScript