[Mono-list] Re: unicode wrapper

Greg Haerr Greg Haerr" <greg@censoft.com
Sat, 6 Apr 2002 14:18:30 -0700


: Please note that it's just a quick hack, because I can get ld to link with
: unicows library directly (and that's maybe because I'm just missing
: something and this can be done without any wrappers).

Somehow I don't get how your [cool] hack is needed?  
In the io-layer, CreateFile gets #defined to unimono_CreateFile
that gets resolved by your unimono.dll and calls the original
CreateFileW, which I assume gets linked with unicows.lib and resolved
to the MS unicows.dll.  Why can't you just link the non-recompiled
mono with unicows.lib and have the original CreateFileW
resolve through unicows.dll?  Is a seperate dll required in order
to make this work?  What happens when you link directly?



: 
: One note, while mono works with Unicode fix it apparently has some problems
: under 9x. I tried it on two machines, and there are some strange
: side-effects. Programs run fine (although thread2 test fails in the middle
: for some reason), but after that if I try to launch any app (any native app)
: the whole system just hangs. So, have fun ;)

Is the thread2 failure because of your call to DisableThreadLibraryCalls
in unimono.dll::dllmain.c?

I would like to help try to make mono work on win98, since I happen
to have that running.  I also wrote two C wrapper programs to get
rid of the need for wrapper .bat scripts when not running mint or mcs in
the Cygwin environment.

Regards,

Greg