IDispatch* SCPHOSTCLNT::GetScriptDispatch(); |
Obtains IDispatch pointer to the running script. Returns NULL if
failed.
Remarks:
Caller must release the obtained pointer if it is not NULL. Use with DISPCALLER or some class implementing smart pointers in order to
avoid reference counting errors.
See also:
Script Manager2 script property
|