Problem with ITypeInfo

Jacek Caban jack at itma.pwr.wroc.pl
Mon Aug 9 20:13:04 CDT 2004


Dmitry Timoshkov wrote:

>"Jacek Caban" <jack at itma.pwr.wroc.pl> wrote:
>
>  
>
>>No, I don't. In my case I need only this:
>>
>> /* this is where we are coming from */
>>+    ITypeLib2_AddRef((ITypeLib*)pLibInfo);
>>     ptiRet->pTypeLib = pLibInfo;
>>     ptiRet->index=count;
>>
>>but I call ITypeLib_Release in ITypeInfo_Release so I thought I should 
>>increment ref here too.
>>    
>>
>
>Then use my test program and possibly add some other test for
>typelib reference counting until you get it right. Then submit
>a tested patch to wine-patches.
>
>  
>
Thanks for help. I found my bug and I'll send patch soon.

Jacek




More information about the wine-devel mailing list