Frequently asked questions

Is phobos support planned?

In the moment we are not actively planning to implement this. However if you are interested in doing this, you are welcome. Please contact us, so we can discuss the details.

What about tangobos?

Tangobos is phobos ported to tango. In general there should be no problem in using it with DWT. But it is not tested yet. Please tell us about your experience.

Compile Errors: undefined identifier info

dwt/DWTError.d(145): Error: undefined identifier info
dwt/DWTError.d(145): Error: cannot infer type for msg
dwt/DWTError.d(150): Error: no property 'info' for type 'object.Exception'
dwt/DWTError.d(150): Error: cannot infer type for msg
dwt/DWTException.d(135): Error: undefined identifier info
dwt/DWTException.d(135): Error: cannot infer type for msg
dwt/DWTException.d(140): Error: no property 'info' for type 'object.Exception'
dwt/DWTException.d(140): Error: cannot infer type for msg

With tango rev 3145 a breaking change was applied. The compile errors above indicate the use of a version befor the change. Use either tango svn trunk rev >=3145, or tango release >= 0.99.5.

The executable are big

Yes, this is still a problem. A DWT application with debug info can easily grow bigger than 10 MB.

The UPX tool can often compress the executable significant. So it probably a good advice to use UPX for the programs release version.

Linker error on windows

OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
dsss_objs\D\dwt-widgets-Display.obj(dwt-widgets-Display)
 Error 42: Symbol Undefined _IsHungAppWindow@4
dsss_objs\D\dwt-internal-win32-OS.obj(dwt-internal-win32-OS)
 Error 42: Symbol Undefined _GetSystemDefaultUILanguage@0

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.

dwt-win-importlibs.zip