Click here to Skip to main content
15,921,716 members
Home / Discussions / COM
   

COM

 
GeneralRe: Async WinInet Locks Program for Period of Time - need implementation advise! Pin
Joao Vaz28-Feb-02 7:30
Joao Vaz28-Feb-02 7:30 
GeneralRe: Async WinInet Locks Program for Period of Time - need implementation advise! Pin
Tim Rymer28-Feb-02 7:39
Tim Rymer28-Feb-02 7:39 
Generala few questions... Pin
Tim Rymer28-Feb-02 8:06
Tim Rymer28-Feb-02 8:06 
GeneralRe: a few questions... Pin
28-Feb-02 11:33
suss28-Feb-02 11:33 
GeneralRe: a few questions... Pin
Joao Vaz28-Feb-02 11:54
Joao Vaz28-Feb-02 11:54 
QuestionHow to get FUNCDESC of a method given its DISPID ? Pin
Rohit27-Feb-02 0:05
Rohit27-Feb-02 0:05 
AnswerRe: How to get FUNCDESC of a method given its DISPID ? Pin
Joao Vaz1-Mar-02 7:03
Joao Vaz1-Mar-02 7:03 
GeneralRe: How to get FUNCDESC of a method given its DISPID ? Pin
Rohit1-Mar-02 17:22
Rohit1-Mar-02 17:22 
Hi Joao,

Thanx for showing interest in my question.
I'm sorry if I haven't made my point clear and it confused you.

Anyway, here is the synopsis of a function I tried to write.
The function got a PROGID, and name of one its Methods. The said function has to invoke given method. It carries on this way :
-> Get DISPID of the method using IDispatch::GetIDsOfNames().
-> Somehow Get Method-index using its DISPID. (Q. How to do this?)
-> Get FUNCDESC using ITypeInfo::GetFuncDesc().

Presently I'm doing the "SECOND STEP" by passing all values between
0 to ITypeInfo::cFuncs-1 to ITypeInfo::GetFuncDesc(). Now check FUNCDESC::memid against method DISPID. This way get FUNCDESC of desired method. Works fine but what if PROGID has 500+ methods?? Wink | ;)
Can you suggest me a better way for this.

Hope to get the answer soon.


Rohit Arora
rohita@dsrsolutions.com
GeneralRe: How to get FUNCDESC of a method given its DISPID ? Pin
Joao Vaz2-Mar-02 6:33
Joao Vaz2-Mar-02 6:33 
QuestionActiveX control for IE ? Pin
Jean-Marc Molina26-Feb-02 11:13
Jean-Marc Molina26-Feb-02 11:13 
AnswerRe: ActiveX control for IE ? Pin
Mazdak27-Feb-02 0:38
Mazdak27-Feb-02 0:38 
Generalsingle instance Pin
newbe26-Feb-02 6:16
newbe26-Feb-02 6:16 
GeneralRe: single instance Pin
Ernest Laurentin26-Feb-02 8:33
Ernest Laurentin26-Feb-02 8:33 
GeneralRe: single instance Pin
Kurt Muellner28-Feb-02 3:32
Kurt Muellner28-Feb-02 3:32 
QuestionHow to put a typelib into a EXE and use it Pin
25-Feb-02 15:04
suss25-Feb-02 15:04 
Generalcalling vb com from vc app Pin
25-Feb-02 5:59
suss25-Feb-02 5:59 
GeneralRe: calling vb com from vc app Pin
Nemanja Trifunovic25-Feb-02 6:04
Nemanja Trifunovic25-Feb-02 6:04 
GeneralRe: calling vb com from vc app Pin
Amit Dey3-Mar-02 14:30
Amit Dey3-Mar-02 14:30 
GeneralCreateInstance Pin
25-Feb-02 5:40
suss25-Feb-02 5:40 
GeneralRe: CreateInstance Pin
Not Active25-Feb-02 6:28
mentorNot Active25-Feb-02 6:28 
GeneralInside COM Pin
23-Feb-02 4:25
suss23-Feb-02 4:25 
GeneralRe: Inside COM Pin
Paul M Watt23-Feb-02 18:17
mentorPaul M Watt23-Feb-02 18:17 
GeneralRe: Inside COM Pin
27-Feb-02 22:12
suss27-Feb-02 22:12 
GeneralRe: HTMLDOM question Pin
Not Active22-Feb-02 4:27
mentorNot Active22-Feb-02 4:27 
GeneralRe: HTMLDOM question Pin
Amit Dey22-Feb-02 8:29
Amit Dey22-Feb-02 8:29 

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.