Click here to Skip to main content
15,906,624 members
Home / Discussions / COM
   

COM

 
AnswerRe: Calling an executable from Internet Explorer as a script? Pin
mejax13-Dec-06 23:00
mejax13-Dec-06 23:00 
GeneralRe: Calling an executable from Internet Explorer as a script? Pin
ghost120713-Dec-06 23:17
ghost120713-Dec-06 23:17 
AnswerRe: Calling an executable from Internet Explorer as a script? Pin
Colin Angus Mackay13-Dec-06 23:15
Colin Angus Mackay13-Dec-06 23:15 
GeneralRe: Calling an executable from Internet Explorer as a script? Pin
JacquesDP13-Dec-06 23:23
JacquesDP13-Dec-06 23:23 
GeneralRe: Calling an executable from Internet Explorer as a script? Pin
ghost120713-Dec-06 23:24
ghost120713-Dec-06 23:24 
GeneralRe: Calling an executable from Internet Explorer as a script? Pin
Colin Angus Mackay13-Dec-06 23:30
Colin Angus Mackay13-Dec-06 23:30 
QuestionPowerPoint Shape Export Pin
Topsen13-Dec-06 21:35
Topsen13-Dec-06 21:35 
QuestionDetermine virtual function table size Pin
J.B.13-Dec-06 17:21
J.B.13-Dec-06 17:21 
Hi all,

I am wondering if it is possible to determine the size (or number of valid function entries) of a virtual function table using the queried interface pointer.

Say I obtained an interface pointer pIMyvia QueryInterface:
pIBase->QueryInterface(&IID_MYINTERFACE, (void**)&pIMy, hr);

I was able to cast the pIMy to vtable pointer pVTable and access each each function's address value with pVTable[0], pVTable[1]..etc. And obviously sizeof(pVTable) returns 4 instead of size of the vtable.

Any ideas how it is possible to determine the size virtual function table?

Thanks in advance,
J.B.
AnswerRe: Determine virtual function table size Pin
Roger Stoltz13-Dec-06 21:54
Roger Stoltz13-Dec-06 21:54 
QuestionDLL hell Pin
rockyl12-Dec-06 3:15
rockyl12-Dec-06 3:15 
AnswerRe: DLL hell Pin
ShilpiP13-Dec-06 1:37
ShilpiP13-Dec-06 1:37 
AnswerRe: DLL hell Pin
Hamid_RT5-Jan-07 21:42
Hamid_RT5-Jan-07 21:42 
QuestionExcel runtime error when using matlab excel builder generated objects Pin
juanchete11-Dec-06 21:38
juanchete11-Dec-06 21:38 
QuestionWhich C# Book is the best for Intermediete programmer. Pin
karam chandrabose10-Dec-06 20:29
karam chandrabose10-Dec-06 20:29 
AnswerRe: Which C# Book is the best for Intermediete programmer. Pin
karam chandrabose10-Dec-06 22:21
karam chandrabose10-Dec-06 22:21 
GeneralRe: Which C# Book is the best for Intermediete programmer. Pin
Hamid_RT5-Jan-07 21:43
Hamid_RT5-Jan-07 21:43 
Question_variant_t Question Pin
Gupta Suraj7-Dec-06 22:48
Gupta Suraj7-Dec-06 22:48 
GeneralRe: _variant_t Question Pin
prasad_som7-Dec-06 23:02
prasad_som7-Dec-06 23:02 
GeneralRe: _variant_t Question Pin
Gupta Suraj7-Dec-06 23:26
Gupta Suraj7-Dec-06 23:26 
AnswerRe: _variant_t Question Pin
prasad_som8-Dec-06 1:49
prasad_som8-Dec-06 1:49 
GeneralRe: _variant_t Question Pin
Gupta Suraj8-Dec-06 3:26
Gupta Suraj8-Dec-06 3:26 
GeneralRe: _variant_t Question Pin
Ed Gadziemski8-Dec-06 18:29
professionalEd Gadziemski8-Dec-06 18:29 
GeneralRe: _variant_t Question Pin
Gupta Suraj10-Dec-06 17:44
Gupta Suraj10-Dec-06 17:44 
GeneralRe: _variant_t Question Pin
prasad_som10-Dec-06 21:29
prasad_som10-Dec-06 21:29 
GeneralRe: _variant_t Question Pin
Gupta Suraj11-Dec-06 18:28
Gupta Suraj11-Dec-06 18:28 

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.