[2/2] widl: Fix generation of a typelib for winhttp.

Dmitry Timoshkov dmitry at baikal.ru
Mon Oct 5 00:26:56 CDT 2015


Huw Davies <huw at codeweavers.com> wrote:

> When you're testing, try setting the enum tag name and the typedef name to
> be same (as they are in httprequest.idl) and also the different names.

That looks like a real source of the problem: if the tag and typedef names
are the same then midl doesn't add a typedef'ed name information to typelib,
when the names differ - then two typedef entries get creates: an alias for
the typedef and real typedef for a tag. I have a patch that fixes this bug.

> It's also possible that using the typedef (in a method argument, for example)
> may result in different behaviour to just declaring it.

Using the typedef in addition to just declaring it doesn't seem to cause
a difference in the typelib generation.

-- 
Dmitry.



More information about the wine-devel mailing list