Click here to Skip to main content
15,896,493 members
Home / Discussions / COM
   

COM

 
GeneralRe: doubt on Activex control Pin
William.Wang17-Jul-06 23:40
William.Wang17-Jul-06 23:40 
GeneralRe: doubt on Activex control Pin
sunita ramesh18-Jul-06 1:23
sunita ramesh18-Jul-06 1:23 
Questionassigning an accelerator for an explorer bar (CATID - INFOBAND) and making it default view Pin
alianyn14-Jul-06 10:40
alianyn14-Jul-06 10:40 
AnswerRe: if anyone is ever interested in how i eventually did it Pin
alianyn18-Jul-06 3:45
alianyn18-Jul-06 3:45 
QuestionComponent Services Info Pin
vertigo_one14-Jul-06 7:04
vertigo_one14-Jul-06 7:04 
Questionproblem with the creation of an instance of ActiveX at runtime and with the invocation of a method from this component Pin
masanne13-Jul-06 23:58
masanne13-Jul-06 23:58 
QuestionCreate ActiveX from dialog used other ActiveX Pin
majco33313-Jul-06 22:40
majco33313-Jul-06 22:40 
QuestionCOM concept help - order of functions or parameters Pin
J.B.13-Jul-06 21:43
J.B.13-Jul-06 21:43 
Hi guys,

as I recently dig into the world of COM by reading Inside COM by Dale Rogerson, I encounter this question in the early chapters.

In the book it says you should always make a new version of interface when
- Order of functions in an interface changes
- Order of pamaters in an function changes

What exactly do this imply? The order as in the position order the fuctions or parameters listed out?

For example:

interface IX : IUnknown<br />
{<br />
	virtual void __stdcall Fx() = 0;<br />
	virtual void __stdcall Fy() = 0;<br />
};


changes to

interface IX : IUnknown<br />
{<br />
	virtual void __stdcall Fy() = 0;<br />
	virtual void __stdcall Fx() = 0;<br />
};


if it is what the book means, when it says that a new version is required, is it because that the virtual function table are no longer the same for the above two interfaces, where the functions (or in other case parameters) would reside in different memory block addresses?Confused | :confused:

Thanks~
AnswerRe: COM concept help - order of functions or parameters Pin
Steve S13-Jul-06 22:05
Steve S13-Jul-06 22:05 
GeneralRe: COM concept help - order of functions or parameters Pin
J.B.13-Jul-06 22:16
J.B.13-Jul-06 22:16 
QuestionHow to create object by Knowing Interface only Pin
kanduripavan13-Jul-06 1:40
kanduripavan13-Jul-06 1:40 
AnswerRe: How to create object by Knowing Interface only Pin
Alex Hazanov13-Jul-06 10:01
Alex Hazanov13-Jul-06 10:01 
GeneralRe: How to create object by Knowing Interface only Pin
kanduripavan13-Jul-06 18:50
kanduripavan13-Jul-06 18:50 
GeneralRe: How to create object by Knowing Interface only Pin
Steve S13-Jul-06 22:09
Steve S13-Jul-06 22:09 
GeneralRe: How to create object by Knowing Interface only Pin
kanduripavan14-Jul-06 0:03
kanduripavan14-Jul-06 0:03 
GeneralRe: How to create object by Knowing Interface only Pin
Steve S16-Jul-06 22:51
Steve S16-Jul-06 22:51 
QuestionModifying POST data in a BHO Pin
mdave12-Jul-06 9:27
mdave12-Jul-06 9:27 
QuestionIIDFromString Failing ! Pin
Malli_S11-Jul-06 21:38
Malli_S11-Jul-06 21:38 
AnswerRe: IIDFromString Failing ! Pin
Hans Ruck12-Jul-06 2:54
Hans Ruck12-Jul-06 2:54 
GeneralRe: IIDFromString Failing ! Pin
Malli_S12-Jul-06 18:33
Malli_S12-Jul-06 18:33 
GeneralRe: IIDFromString Failing ! [modified] Pin
Hans Ruck12-Jul-06 20:53
Hans Ruck12-Jul-06 20:53 
Questiondeveloping COM Application Pin
peter rankel11-Jul-06 21:03
peter rankel11-Jul-06 21:03 
AnswerRe: developing COM Application Pin
kumarprabhakar7411-Jul-06 22:22
kumarprabhakar7411-Jul-06 22:22 
Questioncallllllllllllllllllllllll Pin
arun.m11-Jul-06 21:03
arun.m11-Jul-06 21:03 
AnswerRe: callllllllllllllllllllllll Pin
Malli_S11-Jul-06 21:43
Malli_S11-Jul-06 21:43 

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.