Click here to Skip to main content
16,010,394 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dual interface Pin
George_George27-Sep-08 0:16
George_George27-Sep-08 0:16 
GeneralRe: dual interface Pin
George_George11-Sep-08 23:50
George_George11-Sep-08 23:50 
GeneralRe: dual interface Pin
CPallini12-Sep-08 0:56
mveCPallini12-Sep-08 0:56 
GeneralRe: dual interface Pin
George_George12-Sep-08 19:49
George_George12-Sep-08 19:49 
GeneralRe: dual interface Pin
George_George12-Sep-08 19:58
George_George12-Sep-08 19:58 
GeneralRe: dual interface Pin
CPallini12-Sep-08 21:44
mveCPallini12-Sep-08 21:44 
GeneralRe: dual interface Pin
George_George14-Sep-08 0:10
George_George14-Sep-08 0:10 
GeneralRe: dual interface Pin
CPallini12-Sep-08 21:53
mveCPallini12-Sep-08 21:53 
George_George wrote:
Why implementing dual interface is not mandatory

Keeping COM requirements minimal is a good design approach IMHO (and building a dual interface is not that easy, without wizards or framework, like MFC or ATL, support).

George_George wrote:
i.e. for some other reasons, developer will not implement dual interface?


Because none of the intended clients need it (for instance C++ or VB6 clients don't need IDispatch). As you know IDispatch mechanism is less efficient than VTABLE binding.


Anyway most of COM servers actually implement dual interface (by free choiche).
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: dual interface Pin
George_George14-Sep-08 0:12
George_George14-Sep-08 0:12 
GeneralRe: dual interface Pin
CPallini14-Sep-08 0:34
mveCPallini14-Sep-08 0:34 
GeneralRe: dual interface Pin
George_George14-Sep-08 2:00
George_George14-Sep-08 2:00 
GeneralRe: dual interface Pin
CPallini14-Sep-08 2:27
mveCPallini14-Sep-08 2:27 
GeneralRe: dual interface Pin
George_George14-Sep-08 2:41
George_George14-Sep-08 2:41 
GeneralRe: dual interface Pin
CPallini14-Sep-08 3:15
mveCPallini14-Sep-08 3:15 
GeneralRe: dual interface Pin
George_George15-Sep-08 4:09
George_George15-Sep-08 4:09 
GeneralRe: dual interface Pin
CPallini15-Sep-08 4:38
mveCPallini15-Sep-08 4:38 
GeneralRe: dual interface Pin
George_George15-Sep-08 4:43
George_George15-Sep-08 4:43 
GeneralRe: dual interface Pin
CPallini15-Sep-08 4:48
mveCPallini15-Sep-08 4:48 
GeneralRe: dual interface Pin
George_George15-Sep-08 17:10
George_George15-Sep-08 17:10 
GeneralRe: dual interface Pin
CPallini15-Sep-08 21:38
mveCPallini15-Sep-08 21:38 
GeneralRe: dual interface Pin
George_George15-Sep-08 22:11
George_George15-Sep-08 22:11 
GeneralRe: dual interface Pin
George_George11-Sep-08 22:55
George_George11-Sep-08 22:55 
GeneralRe: dual interface Pin
led mike12-Sep-08 4:33
led mike12-Sep-08 4:33 
GeneralRe: dual interface Pin
led mike12-Sep-08 4:33
led mike12-Sep-08 4:33 
GeneralRe: dual interface Pin
George_George12-Sep-08 19:59
George_George12-Sep-08 19:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.