Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changes between Version 3 and Version 4 of FAQ

Show
Ignore:
Author:
keinfarbton (IP: 84.161.72.27)
Timestamp:
04/15/08 20:29:46 (16 years ago)
Comment:

Win linker errors.

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v3 v4  
    2929The [http://upx.sourceforge.net UPX] tool can often compress the executable significant. So it probably a good advice to use UPX for the programs release version. 
    3030 
     31== Linker error on windows == 
     32 
     33{{{ 
     34OPTLINK (R) for Win32  Release 8.00.1 
     35Copyright (C) Digital Mars 1989-2004  All rights reserved. 
     36dsss_objs\D\dwt-widgets-Display.obj(dwt-widgets-Display) 
     37 Error 42: Symbol Undefined _IsHungAppWindow@4 
     38dsss_objs\D\dwt-internal-win32-OS.obj(dwt-internal-win32-OS) 
     39 Error 42: Symbol Undefined _GetSystemDefaultUILanguage@0 
     40}}} 
     41 
     42!IsHungAppWindow is located in user32.dll, GetSystemDefaultUILanguage is in kernel32.dll. If you get these missing symbols, this indicates that the linker has not loaded the user32.lib and kernel32.lib from the import lib zip file. Instead the .lib files from the DMD package were loaded. DMD comes with older versions of these libs. Overwrite the libs with the ones from the import lib zip file. 
    3143 
    3244 
    33