winapi_test chokes on TITLEBARINFO

Francois Gouget fgouget at free.fr
Tue Jan 20 09:53:54 CST 2004


On Tue, 20 Jan 2004, Hans Leidekker wrote:

> On Tuesday 20 January 2004 14:09, Francois Gouget wrote:
>
> > include/winuser.h: DWORD[CCHILDREN_TITLEBAR+1]: can't parse type
> > ('DWORD') ('CCHILDREN_TITLEBAR+1')
> > Can't use string ("4") as a SCALAR ref while "strict refs" in use at
> > tools/winapi/c_type.pm line 283.
>
> That code is mixing up the use of a variable holding a string
> and a variable holding a reference. Put otherwise it forget's
> to dereference a scalar ref (similar to a C pointer variable)
> before using it. Patch below fixes it.

Yep, fixed the problem here. Thanks!


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
     The software said it requires Win95 or better, so I installed Linux.



More information about the wine-devel mailing list