[2.6.3, Unicode, MSLU] minimal will not work under Windows 98
si
nomail at nonet.no
Thu Aug 31 05:27:34 PDT 2006
Vadim Zeitlin wrote:
> This means that you didn't put unicows.lib in the very beginning of the
> linker command line when building your program. This lib must come before
> all the other libraries, so you need just fix the libraries order and
> relink.
>
> Good luck,
> VZ
Well this is a strange thing.
When I build wxWidgets as DLLs (adding unicows.lib to each DLL project)
and then build the minimal sample it works (launches under Windows 98).
But when I try to build it with wxWidgets linked statically the
LoadLibraryW fails.
See the linker settings bellow (it looks like I'm making some stupid
some mistake each time):
/OUT:"vc_mswud\minimal.exe" /INCREMENTAL:NO /NOLOGO
/LIBPATH:".\..\..\lib\vc_lib" /NODEFAULTLIB:"msvcrtd" /DEBUG
/PDB:".\vc_mswud/minimal.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86
unicows.lib wxmsw26ud_core.lib wxbase26ud.lib wxtiffd.lib wxjpegd.lib
wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib winmm.lib comctl32.lib
rpcrt4.lib wsock32.lib odbc32.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
Thanks for any clues
Janusz
More information about the wx-users
mailing list