Hi all,
there is some good news to tell about WIDL. It is able to build the header file, client stub file and server stub file for _very_ simple rpc applications. I got a slightly modified version of the hello example from MSDN working.
There are still a lot of features missing from WIDL but it is able to create stubs for simple functions that don't take any arguments and return no or basic type values. Returning pointers is not supported yet. So, supported functions look like that:
void My1stRpcFunc(void); int My2ndRpcFunc(void); unsingned long My3rdRpcFunc(void);
Another restriction is the handling of implicit binding handles. These binding handles are usually declared in an ACF file. But since ACF files are not supported yet the declaration must take place in the IDL file. MIDL supports this as well if you use the '/app_config' option.
Explicit binding handles are not supported yet.
Finally, WIDL does not support MIDLs '/oldnames' option. This option is used to enable the old naming conventions for interface handles. This is a minor issue because the MSDN examples use the old naming conventions.
Next, I want to implement support for basic type function arguments.
The whole source code to WIDL is published under the LGPL so feel free to contribute it to WINE.
Regards, Eric
Hi Eirc,
--- Eric Kohl eric.kohl@t-online.de wrote:
The whole source code to WIDL is published under the LGPL so feel free to contribute it to WINE.
ros-diffs truncates messages so is there a SVN command I can use to generate a diff from one rev to another? I will merge and forward your WIDL changes to Winehq.
Thanks Steven
__________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250
Eric Kohl wrote:
Next, I want to implement support for basic type function arguments.
Maybe you can find some usefull code here (though I doubt it): http://www.volny.cz/xnavara/idl/ (stubs.c particulary).
Regards, Filip
Hi,
--- Filip Navara xnavara@volny.cz wrote:
Maybe you can find some usefull code here (though I doubt it): http://www.volny.cz/xnavara/idl/ (stubs.c particulary).
If you guys are going to be hacking on WIDL quite a bit then its going to be a pain for me to keep the changes in sync with Winehq. Can you maintain a changelog in the directory for the changes for each rev so I can know what to extract to try to merge to Winehq.
Thanks Steven
__________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250
Steven Edwards wrote:
Hi,
--- Filip Navara xnavara@volny.cz wrote:
Maybe you can find some usefull code here (though I doubt it): http://www.volny.cz/xnavara/idl/ (stubs.c particulary).
If you guys are going to be hacking on WIDL quite a bit then its going to be a pain for me to keep the changes in sync with Winehq. Can you maintain a changelog in the directory for the changes for each rev so I can know what to extract to try to merge to Winehq.
Actually I'm not going to work on WIDL since I don't want to step on Eric's toes. If you're going to merge the changes back to Wine please don't do that for revision 13706.
Thanks, Filip
Hi,
--- Filip Navara xnavara@volny.cz wrote:
Actually I'm not going to work on WIDL since I don't want to step on Eric's toes. If you're going to merge the changes back to Wine please don't do that for revision 13706.
I tried to remove all the ReactOS dependant changes. Anyone care to review the diff before I send it off?
Thanks Steven
__________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo
-----Original Message----- From: ros-dev-bounces@reactos.com [mailto:ros-dev-bounces@reactos.com] On Behalf Of Steven Edwards Sent: 22. februar 2005 19:23 To: ReactOS Development List Subject: [Spam] Re: [ros-dev] State of the WIDL
Hi,
--- Filip Navara xnavara@volny.cz wrote:
Maybe you can find some usefull code here (though I doubt it): http://www.volny.cz/xnavara/idl/ (stubs.c particulary).
If you guys are going to be hacking on WIDL quite a bit then its going to be a pain for me to keep the changes in sync with Winehq. Can you maintain a changelog in the directory for the changes for each rev so I can know what to extract to try to merge to Winehq.
Thanks Steven
svn log svn://svn.reactos.com/trunk/reactos/tools/widl
will give you that information. You just need to remember the revision of your last sync. You can do that using a regular file or a property.
Casper