Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error while exporting a static member form a DLL Pin
Prasanth M V19-Feb-08 0:19
Prasanth M V19-Feb-08 0:19 
GeneralRe: Error while exporting a static member form a DLL Pin
Cedric Moonen14-Feb-08 23:36
Cedric Moonen14-Feb-08 23:36 
Generaldual interface for IDispatch Pin
George_George14-Feb-08 22:28
George_George14-Feb-08 22:28 
GeneralRe: dual interface for IDispatch Pin
CPallini14-Feb-08 23:07
mveCPallini14-Feb-08 23:07 
GeneralRe: dual interface for IDispatch Pin
George_George14-Feb-08 23:18
George_George14-Feb-08 23:18 
GeneralRe: dual interface for IDispatch Pin
CPallini14-Feb-08 23:29
mveCPallini14-Feb-08 23:29 
GeneralRe: dual interface for IDispatch Pin
George_George14-Feb-08 23:52
George_George14-Feb-08 23:52 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 0:02
mveCPallini15-Feb-08 0:02 
George_George wrote:
Good link!! Now my confusion is, to implement an interface for OLE automation, once we inherit from IDispatch interface, then it is always a dual interface, right?

You may also choose to not declare your interface dual, but, as stated in the MSDN page:

dual interfaces are recommended whenever possible



George_George wrote:
What type of implementation in C++ for a component is not a dual interface?


For instance, a component that does not support automation.

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


GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 0:05
George_George15-Feb-08 0:05 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 0:22
mveCPallini15-Feb-08 0:22 
GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 0:34
George_George15-Feb-08 0:34 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 1:18
mveCPallini15-Feb-08 1:18 
GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 1:30
George_George15-Feb-08 1:30 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 2:29
mveCPallini15-Feb-08 2:29 
GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 2:46
George_George15-Feb-08 2:46 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 3:10
mveCPallini15-Feb-08 3:10 
GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 3:41
George_George15-Feb-08 3:41 
GeneralRe: dual interface for IDispatch Pin
CPallini15-Feb-08 4:01
mveCPallini15-Feb-08 4:01 
GeneralRe: dual interface for IDispatch Pin
George_George16-Feb-08 22:33
George_George16-Feb-08 22:33 
GeneralRe: dual interface for IDispatch Pin
CPallini16-Feb-08 23:04
mveCPallini16-Feb-08 23:04 
GeneralRe: dual interface for IDispatch Pin
George_George16-Feb-08 23:32
George_George16-Feb-08 23:32 
GeneralRe: dual interface for IDispatch Pin
Rajkumar R15-Feb-08 0:14
Rajkumar R15-Feb-08 0:14 
GeneralRe: dual interface for IDispatch Pin
George_George15-Feb-08 0:28
George_George15-Feb-08 0:28 
GeneralRe: dual interface for IDispatch Pin
Rajkumar R15-Feb-08 4:43
Rajkumar R15-Feb-08 4:43 
GeneralRe: dual interface for IDispatch Pin
George_George16-Feb-08 22:36
George_George16-Feb-08 22:36 

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.