Archive for the 'COM' Category

While programming for COM, you must have encountered this annoying “Server Busy” dialog box. This happens when the MFC COM Client is calling some method in the COM Server, that takes a long time to process. Until the method returns, nothing can be done in the client side and this dialog box pops up.
To deal [...]


A BSTR is a pointer to a null-terminated character string in which the string length is stored with the string. Because the length is stored with the string, BSTR variables can contain embedded null characters.
A CString object consists of a variable-length sequence of characters. CString provides functions and operators using a syntax similar to that [...]