COM/DCOM/ActiveX |
66 Exam and interview questions on COM/DCOM/ActiveX for developers/learners. Click on the link to get the detailed explanations. One you visit any answer you can navigate through next and previous link to jump from one answer to another. You can also select index to come back to this index page. Please provide us the rating and feedbacks of our questions and answers.
What is Object Linking and Embedding?
What is Component Object Model?
What are the advantages of using COM object over using C++ exported class?
What are the advantages of interface based programming?
What is Interface Definition Language or IDL?
What is Object Definition Language?
What is the base class of all COM class? Define its prototype.
What is the utility of QueryInterface() function in IUnknown interface?
What is the utility of AddRef() and Release() function?
Does AddRef() is called by client?
Who allocates memory for a COM object and where its construction get called?
How can I implement a wrapper class?
What is BSTR? How it differs from an array of unicode wchar_t?
What is the definition of a IClassFactory interface?
What is the utility of CreateInstance() function in IClassFactory?
What is the utility of LockServer()?
What are the entry and exit point routine of COM DLL module?
How a COM DLL can provide self-registration and deregistration?
What is CLSID, GUID, UUID, APPID ? How it is determined?
What is InProc (In Process) and Out-Of-Process COM server?
Write steps to create a com client?
How do I define a method in an interface using IDL?
What is the difference between a COM server written solely in C++ (no IDL) and using C++ and IDL?
What are the output of MIDL compilation of an IDL file?
What is proxy/stub skeleton in COM client and server programming?
What is [in], [out], [in,out] and [out,retval] parameters?
Why out parameters are always pointer to pointer?
How BSTRs are allocated and deallocated?
How can I convert ASCII string to BSTR using ATL framework and Win32 APIs?
What is a co-class in a COM server?
How can I write an Interface that supports type info?
What is the definition of IDispatch?
How IDispatch supports VB, JAVA, script enabled object?
What is ID binding? What is the utility of GetIDsofName() function in IDispatch()?
How Invoke() method is called using Automation?
How to call C++ ATL server from VBA, VB, VB Script, Java Script?
What is variant in Automation?
How arrays are implemented in COM/Automation?
How SAFE ARRAY differs from normal array?
How enum types are supported in COM?
What is a callback function in COM?
How callback function are implemented in COM?
What is Single Threaded Apartment or STA?
What is IEnumXXX interface and how it is used?
How an array of fixed length data are passed in method?
Distinguish between an in-bound and out-bound interface?
What is a co-class in IDL? What is a default co-class in VB?
What is the difference between a coclass and Interface in IDL?
What is the easiest way to register a type library programatically?
How a out-of process COM EXE register itself to Service Control Manager(SCM)?
What is the meaning of SINGLEUSE, MULTIUSE, MULTI_SEPARATE, SUSPENDED, SURROGATE in COM Exe?
Topic Discussed: OLE, COM, C++ exported class, interface based programming, IDL, ODL, COM class, QueryInterface(), AddRef() and Release() function? HRESULT, wrapper class, BSTR, factory class, IClassFactory, CreateInstance(), LockServer(), entry and exit point, self-registration and unregistration, CLSID, GUID, UUID, APPID, InProc (In Process) and Out-Of-Process, proxy/stub scheleton, help/guide line string, [in], [out], [in,out] and [out,retval], co-class, smart pointer, Marshalling, TypeLibrary, IUnknown, IDispatch, GetIDsofName(), Invoke(), Automation, SAFE ARRAY, enum types, callback, connectable object, Sink object, Apartment, STA, MTA, Single and Multi-Threaded Apartment, ActiveX, IEnumXXX, in-bound and out-bound interface, out-of process, SINGLEUSE, MULTIUSE, MULTI_SEPARATE, SUSPENDED, SURROGATE, COM aggrigation.