Drop-in replacement of windows dll's?
r.kalbermatter at hccnet.nl
Wed May 9 00:39:13 CDT 2007
Tom Spear [mailto:speeddymon at gmail.com] wrote:
>I just remembered reading somewhere (wiki, perhaps?) that the ultimate goal
>(aside from documenting the windows api, etc) was to provide open-source
>replacements for windows' core dll's. If that is the case, do we have a
>setup for building the wine dlls as windows .dll files, so that we could
>actual status of this?
>I think it would be interesting to see how much of windows will run with
>in their current state. Obviously it would be bad to test this with
>user32.dll, etc, but something like riched32 and maybe some of the common
>dlls should be ok to test with?
There is a winapi/msvcmaker perl script in Wine which can create the Visual
C 6.0 make
files for most (probably not all anymore since the directory structure
changed a lot
in the last years) DLLs and support libraries in Wine.
Patrik Stridvall put a lot of effort into this and for most non core DLLs it
did work at some point fairly well. You just had to make sure to either use
under Windows or configure the Unix directory that contained Wine to be
shared to the
Windows box with DOS end of line translation since the Visual C 6.0 IDE is
about those .dsp and .dsw files and simply crashes in a fatal way (leaving a
process you have to kill before you can restart it again) if those files do
exactly as it expects them.
At some point I tried to adapt those tools to some changes in the Wine
structure but more would have been needed including certain changes to
order and such to make it work well. In general since there are not many
that approach it tends to be an uphill battle to keep it working with Wine
changes and new PSDK releases and I have not followed that anymore for maybe
I believe that the use of MingW will be probably more successful since it is
to create the crosstests and for Winlib applications/libraries but I haven't
anything with Winelib and only tried once to build the crosstests.
More information about the wine-devel