OLEAUT32: bug 4502 - request for comment before trying to fix

Robert Shearman rob at codeweavers.com
Tue Mar 21 11:00:07 CST 2006


Dan Kegel wrote:

>On 3/19/06, Dan Kegel <dank at kegel.com> wrote:
>  
>
>>Alex wrote:
>>    
>>
>>>It seems that I will have to wait until I code
>>>enough of a test case for a *successful*
>>>ITypeInfo::Invoke()
>>>      
>>>
>
>A few more vaguely relevant notes:
>http://codeguru.earthweb.com/Cpp/COM-Tech/atl/article.php/c3565/
>briefly mentions how ATL uses ITypeInfo::Invoke().
>http://www.opengroup.org/onlinepubs/009899899/CHP18GDC.HTM
>is the Open Group's documentation for ActiveX (!) which also
>covers this a bit.  And, more usefully,
>http://groups.google.com/group/comp.os.ms-windows.programmer.ole/msg/c1417ff7c7b8c3d2
>says:
>0) Call CoCreateInstance() to get a pointer to the object
>1) Create a ITypeLib interface (via the 'LoadTypeLib' API function).
>2) Call ITypeLib::GetTypeInfo to obtain ITypeInfo interface.
>3) Call ITypeInfo::Invoke  (almost like IDispatch::Invoke)
>which is exactly what I was starting to gather by
>reading the Automation and Type Libraries chapters of "Essence of COM".
>

I appreciate the effort, but none of those sources provide any more 
information than that present on MSDN, and even MSDN is woefully 
inadequate on the behaviour of the function in less common cases. 
Attached is a test case that covers a bit of the functionality in 
ITypeInfo::Invoke.

-- 
Rob Shearman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmarshaltest.tar.bz2
Type: application/x-bzip
Size: 116952 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060321/d6adbbdf/tmarshaltest.tar-0001.bin


More information about the wine-devel mailing list