[2.6.3, Unicode, MSLU] minimal will not work under Windows 98
si
nomail at nonet.no
Fri Sep 1 01:42:22 PDT 2006
si wrote:
> Vadim Zeitlin wrote:
> > I don't see anything wrong in your linker settings but I do see
> something
>
>> suspicious: why is there /NODEFAULTLIB? If you really need it (i.e. if
>> you
>> get warnings or errors after removing it) you must be linking with some
>> wrong libraries, normally it is unneeded. But other than that I have no
>> idea, sorry.
>>
>> Good luck and please let us know if you find the problem,
>> VZ
>
>
>
> One more question. Let's say that I have built wxWidgets with flags
> wxUSE_UNICODE and wxUSE_UNICODE_MSLU set and then built my application.
> If I open the application in the dependency walker should I see that the
> executable depends on unicows.dll ?
> [Right now I do not see such dependency]
>
> Thanks
> si
I finally got it!
The problem was the linking order of course. Even though I've read the
article about building an application with MSLU support couple times
(http://tinyurl.com/mzm3a) I did not see the most obvious fact:
*kernel32.lib must go exactly after unicows.dll*
So to build the minimal sample one has to uncheck the "Inherit from
project defaults" check (VS 7.1, Project Properties | Linker |
Additional dependencies) and then type in kernel32.lib exactly after
unicows.dll that is it.
Thanks
si
More information about the wx-users
mailing list