<< COM examples | COM engine | COM_fieldnames >> |
COM_delete(h) |
delete(h) |
a handle: a COM object.
delete(h) releases all the interfaces derived from the specified COM server or control, and then deletes the server or control itself.
This is different from releasing an interface, which releases and invalidates only the particular interface.
Do not forget to clear h afterward.
pTextToSpeech = actxserver('Sapi.SpVoice')
delete(pTextToSpeech)
clear pTextToSpeech
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET