[ros-kernel] Wine shlwapi.dll
Jason Filby
jasonfilby at yahoo.com
Mon Dec 8 22:02:04 CET 2003
Perhaps forwards this on to WINE?
Cheers
Jason
Ge van Geldorp wrote:
>Explorer crashed for me when pressing the "Start" button. I've
tracked
>
>this down to calls to calls to tolowerW() (in
wine/dlls/shlwapi/path.c
>
>function PathGetDriveNumberW()) not performing as expected.
tolowerW()
>
>is defined in wine/include/wine/unicode.h as:
>
>
>
>static inline WCHAR tolowerW( WCHAR ch )
>
>{
>
> extern const WCHAR wine_casemap_lower[];
>
> return ch + wine_casemap_lower[wine_casemap_lower[ch >> 8] + (ch
&
>
>0xff)];
>
>}
>
>
>
>wine_casemap_lower is defined in wine/libs/unicode/casemap.c and is
>
>exported from libwine_unicode.dll. Unfortunately, something is wrong
>
>with the export out of libwine_unicode.dll or the import into
>
>shlwapi.dll so the correct values are not available in shlwapi (and
>
>probably in other libs where this wine_casemap_lower is imported
too).
>
>
>
>As a workaround, I simply copied the casemap.c from
wine/libs/unicode to
>
>wine/dlls/shlwapi and included it in the Makefile. tolowerW() works
as
>
>expected, resulting in no more crashes when pressing the "Start"
button.
>
>
>
>Gé van Geldorp.
>
>
>
>
>
>_______________________________________________
>
>Ros-kernel mailing list
>
>Ros-kernel at reactos.com
>
>http://reactos.com/mailman/listinfo/ros-kernel
>
>
>
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
More information about the Ros-kernel
mailing list