I'm trying to get a new shell object into Wine and seeing that most of the object definition stuff has recently been moved to IDL files I wondered if I could define the object in shobjidl.idl.
However I seem to get some problems compiling shobjidl.idl with with widl.
I tried ./tools/widl/widl -I ./include ./include/shobjidl.idl and get an error.
To be sure it wasn't caused by my editing I made sure the entire include dir is an unmodified version of the CVS tree and tried it there and I still get the error
./include/shobjidl.idl:426: Error: method index mismatch in write_proxy
What is the problem here? Should I just sent in the patch to shobjidl.idl and the header file gets generated automatically with some more capable tool?
By the way I noticed also that IPersistFolder3 got probably overlooked when moving the definitions to idl files.
Rolf Kalbermatter
"Rolf Kalbermatter" rolf.kalbermatter@citeng.com writes:
However I seem to get some problems compiling shobjidl.idl with with widl.
I tried ./tools/widl/widl -I ./include ./include/shobjidl.idl and get an error.
You should use widl -h to only generate the header. Or easier do 'make idl' in the include directory.
By the way I noticed also that IPersistFolder3 got probably overlooked when moving the definitions to idl files.
Many others have not been moved either, it's because they are not in the idl file on Windows. I'll probably move them anyway, but I need to look more carefully at them to make sure we remain 100% compatible.