Click here to Skip to main content
16,014,568 members
Home / Discussions / COM
   

COM

 
GeneralRe: IDispatch Pin
Barry Lapthorn18-Sep-02 8:29
protectorBarry Lapthorn18-Sep-02 8:29 
GeneralRe: IDispatch Pin
Stephane Rodriguez.17-Sep-02 18:47
Stephane Rodriguez.17-Sep-02 18:47 
GeneralRe: IDispatch Pin
Barry Lapthorn17-Sep-02 22:22
protectorBarry Lapthorn17-Sep-02 22:22 
GeneralRe: IDispatch Pin
Stephane Rodriguez.17-Sep-02 23:26
Stephane Rodriguez.17-Sep-02 23:26 
GeneralRe: IDispatch Pin
Anonymous18-Sep-02 2:56
Anonymous18-Sep-02 2:56 
GeneralRe: IDispatch Pin
Stephane Rodriguez.18-Sep-02 3:17
Stephane Rodriguez.18-Sep-02 3:17 
GeneralRe: IDispatch Pin
Barry Lapthorn18-Sep-02 8:32
protectorBarry Lapthorn18-Sep-02 8:32 
GeneralRe: IDispatch Pin
Bart Robeyns17-Sep-02 13:50
Bart Robeyns17-Sep-02 13:50 
As you stated, an interface must never change after initial publication. But you can support new interfaces from an existing component. Maybe your problem can be solved simply by adding a new interface everytime methods need to be added.
Thus you can
- use early binding, and have the convenience of intellisense.
- update clients simply by distributing the typelib
Of course, if clients want to use these new methods, they'd have to be aware of these new interfaces in order to request them. But they'd have to be adapted for the use of the new method anyway, so that doesn't seem to pose any problem.

By the way, you can expose the methods of multiple interfaces through IDispatch, and there's a rather elegant solution to this using ATL and what I believe is called 'bitmap-id fields'.
GeneralRe: IDispatch Pin
Barry Lapthorn18-Sep-02 8:26
protectorBarry Lapthorn18-Sep-02 8:26 
GeneralRe: IDispatch Pin
Bart Robeyns18-Sep-02 10:57
Bart Robeyns18-Sep-02 10:57 
GeneralRe: IDispatch Pin
Vi218-Sep-02 6:16
Vi218-Sep-02 6:16 
GeneralRe: IDispatch Pin
Barry Lapthorn18-Sep-02 8:28
protectorBarry Lapthorn18-Sep-02 8:28 
GeneralOO and COM Pin
nrobin17-Sep-02 6:12
nrobin17-Sep-02 6:12 
GeneralHelp needed Pin
Shirlie13-Sep-02 3:06
Shirlie13-Sep-02 3:06 
GeneralRe: Help needed Pin
David Salter17-Sep-02 11:53
David Salter17-Sep-02 11:53 
GeneralMS Word in a container Pin
Anonymous12-Sep-02 7:00
Anonymous12-Sep-02 7:00 
GeneralRe: MS Word in a container Pin
Ranjan Banerji16-Sep-02 9:14
Ranjan Banerji16-Sep-02 9:14 
GeneralSDK Nokia Connectivity Pin
bebe harhour12-Sep-02 3:09
bebe harhour12-Sep-02 3:09 
QuestionHow to:Let my application support automation like m$ word Pin
Simon.W12-Sep-02 2:00
Simon.W12-Sep-02 2:00 
AnswerRe: How to:Let my application support automation like m$ word Pin
Stephane Rodriguez.12-Sep-02 2:18
Stephane Rodriguez.12-Sep-02 2:18 
GeneralRe: How to:Let my application support automation like m$ word Pin
Simon.W12-Sep-02 22:56
Simon.W12-Sep-02 22:56 
AnswerRe: How to:Let my application support automation like m$ word Pin
Ernest Laurentin13-Sep-02 19:16
Ernest Laurentin13-Sep-02 19:16 
GeneralRe: How to:Let my application support automation like m$ word Pin
Simon.W16-Sep-02 3:42
Simon.W16-Sep-02 3:42 
GeneralSTA and MTA with a multithreaded app. Pin
Chris Meech11-Sep-02 8:20
Chris Meech11-Sep-02 8:20 
GeneralRe: STA and MTA with a multithreaded app. Pin
Ernest Laurentin11-Sep-02 10:04
Ernest Laurentin11-Sep-02 10:04 

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.