Re: How the dispids are assigned to functions?
Please don't multipost. More detailed asnwers are in:
microsoft.public.win32.programmer.ole
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
<ypjofficial@indiatimes.com> wrote in message
news:1158161730.593418.121810@i3g2000cwc.googlegroups.com...
Hello All!
I have started learning com and automation recently.
I have lot of confusion regarding the automation part of the COM.
I am refering Dale Rogerson's Inside COM.
Now refering to automation..
I couldn't understand how and where the functions which are called
through the IDispatch::Invoke() method(the dispinterface functions),
assigned to a distinct dispid.
I searched lot on net but nowhere i found a code where the functions
were assigned a particular dispid.
I know that the assignment takes place inside the GetIDsOfNames
functions.
But i have yet to see the real code..
can anyone show me how the dispids are assigned to the functions and
then how they are used in the invoke function?
Thanks and Regards,
Yogesh Joshi