
Use the Dual Interface Instead of vtbl only or Pure Interfaces
The COM client and server can communicate with each other in three ways – vtbleinterfaces, dispinterface or dual interface. If the component is to be used only from compiled languages

The COM client and server can communicate with each other in three ways – vtbleinterfaces, dispinterface or dual interface. If the component is to be used only from compiled languages

When you declare a class as final, it can no longer be subclassed. Java has used this for security purposes with classes like String and Integer. It also allows the

An interface describes the public methods that a class should implement along with the calling conventions of those methods. An Interface says nothing about implementation of its methods. In essence,

When you declare a class as abstract, it cannot be instantiated. Only subclasses of an abstract class can be instantiated if they are not abstract themselves. When you declare a

When you synchronize a method of a class, as in: public synchronized int getAge(){ …} that method will acquire a monitor lock before execution. If the synchronized method is static,

When you declare a field variable of a class as static, that field variable is instantiated only once, no matter how many instances of the class are created. In other

Question: How does Spy++ make the borders of a window blink when you select “Highlight” from the right-click menu? I have a MouseProc in the hook chain, so I can

Question: Can I use ADO-connected recordsets with MTS? From the information I can find it seems that MTS does not handle them. Answer: You can, but the question is, do

Question: What is the best source, print or online, for learning how to implement persistence in C++? I want to save my objects to disk and restore them, and I