[2.6.3, Unicode, MSLU] minimal will not work under Windows 98

si nomail at nonet.no
Wed Aug 30 06:42:30 PDT 2006


> This is an extract from /docs/msw/install.txt
> MSLU=1
>   Enables MSLU (Microsoft Layer for Unicode). This setting makes sense only if
>   used together with UNICODE=1. If you want to be able to use Unicode version
>   on Windows9x, you will need MSLU (Microsoft Layer for Unicode) runtime DLL
>   and import lib.  The former can be downloaded from Microsoft, the latter is
>   part of the latest Platform SDK from Microsoft (see msdn.microsoft.com for
>   details). An alternative implementation of import library can be downloaded
>   from http://libunicows.sourceforge.net - unlike the official one, this one
>   works with other compilers and does not require 300+ MB Platform SDK update.
> 
> There are two libs mentioned. Do you have both?
> 


I have unicows.lib (the import library). It comes from the Microsoft SDK 
and the DLL (unicows.dll) downloaded from the MSDN.
So it is a library and a dll (I do not see there two libraries mentioned 
unless you talk about the second solution).


While the application initializes, it tries to load the DLL with two 
different methods (this is a native code - not my own!): LoadLibraryA 
and LoadLibraryW (the first one uses ANSI strings, the second one uses 
Unicode strings).
In my case the first one return a valid handle but the second one fails.

My best guess is that I am missing something while building the 
application but I'm not sure what it is.

Thanks
si









More information about the wx-users mailing list