WIDL 'import' question

Nikolay Sivov bunglehead at gmail.com
Sun Jan 11 13:17:26 CST 2009


Hi, I've a small question on using 'import' in .idl. Sorry if it's too 
dummy, it's my first try to use widl.
Trying to get commoncontrols.idl port compile on Wine I've got the 
following problems -
this file contains struct definitions already defined in commctrl.h.

Adding

    import "commctrl.h"

and removing after that all conflict definitions from commoncontrols.idl 
caused for me

../tools/widl/widl -I. -I. -I../include -I../include    -h -H 
commoncontrols.h commoncontrols.idl
./prsht.h:39: error: syntax error, unexpected '{'
make[1]: *** [commoncontrols.h] Error 1
make[1]: Leaving directory `/home/mrlarch/wine/include'
make: *** [include] Error 2

showing that prsht.h isn't processed properly here

39    static const WCHAR WC_PROPSHEETW[] = { 'S','y','s',
40      'P','r','o','p','e','r','t','y','S','h','e','e','t',0 };

How could I get over that?



More information about the wine-devel mailing list