[Mono-winforms-list] Changes to monostub

John Sohn jsohn@columbus.rr.com
28 Jan 2003 23:46:26 -0500


I've made some changes to the monostub.c file that allows it to work
with the latest Mono and Wine releases. I also added some details to the
README.

It looks like the mono mapping to shared libraries changed. As a result
the latest Mono needs these entries added to the etc/mono/config:

        <dllmap dll="user32.dll" target="user32.dll.so" />
        <dllmap dll="kernel32.dll" target="kernel32.dll.so" />
        <dllmap dll="gdi32.dll" target="gdi32.dll.so" />
        <dllmap dll="shell32.dll" target="shell32.dll.so" />
        <dllmap dll="comctl32.dll" target="comctl32.dll.so" />

I also noticed the mono_config_parse is not included in the "public"
embedding API. This needs to be called in the monostub application to
map the above libraries. Can this method become public and included in
the standard mono embedding API include files?

Is it OK to commit these changes to monostub.c and the README?

Thanks,
John