IDispatch
-
Hi I understand that using IDispatch a COM object exposes the functionality. But is it necesary for all the COM objects to use IDispatch? Thanks in advance
IDispatch using only for automation. It is necesary for all the COM objects to use IUnknown :)
Best regards, Baron
-
Hi I understand that using IDispatch a COM object exposes the functionality. But is it necesary for all the COM objects to use IDispatch? Thanks in advance
The IDispatch supports that the script and binnary can access,but Iunknown only supports binnary. if your com object is only accessed by binnary,you use IUnknown.:laugh:
fsa
-
Hi I understand that using IDispatch a COM object exposes the functionality. But is it necesary for all the COM objects to use IDispatch? Thanks in advance
You need to derive your interfaces from IDispatch if you want to access the COMponents from scripting clients like VBScript..
Cheers, Suresh