COM/DCOM and Automation
C/C++ and Java rely on vptr and vtable mechanism to deal with abstract classes or interfaces. However this is not true with scripting languages like VB/JAVA Script and VB. These languages do not have this mechanism. Thus co-class that implement only IUnknown is not sufficient for these languages. Additionally co-class has to implement all the methods of IDispatch to ensure compatibility with automation. Sometimes IDispatch also called dual interface as it both supports all methods of IUnknown and methods for automation. To support automation it has four additional methods named:
- IDispatch::GetTypeInfoCount
- IDispatch::GetTypeInfo
- IDispatch::GetIDsOfNames
- IDispatch::Invoke
About our authors: Team EQA
You have viewed 1 page out of 67. Your COM/DCOM learning is 0.00% complete. Login to check your learning progress.
Most popular
Questions index C Questions C++ Questions Win32 MFC COM/DCOM DLL Questions
Compilers & Editors
Download Visual Studio Download XCode Download Visual Studio Code Android studio install sdk Eclipse installer Best C compilers IDEs
Development system setup
Windows media creation tool MSDN subscription Ubuntu virtualbox
New updated posts
Why learn C? Calculate weighted average
Questions index C Questions C++ Questions Win32 MFC COM/DCOM DLL Questions
Compilers & Editors
Download Visual Studio Download XCode Download Visual Studio Code Android studio install sdk Eclipse installer Best C compilers IDEs
Development system setup
Windows media creation tool MSDN subscription Ubuntu virtualbox
New updated posts
Why learn C? Calculate weighted average