view README.txt @ 121:e3b3f0fc0c7b

Fix removing the temp file and use the conduit from tango.io.Tempfile. Thanks doob for investigating here.
author Frank Benoit <benoit@tionex.de>
date Mon, 11 Feb 2008 22:37:58 +0100
parents 40c02ead0a2c
children 18ca5d3c6dfc
line wrap: on
line source


DWT-Win
=======

Requirements:
=============
tango from SVN trunk rev 3152
dsss 0.75
DMD 1.025 (don't use 1.026, which has a problem with tango)
Import libs

Import libs:
============
To link everything you need the import libs.
They are not included in the source repository, please use this archive

    http://downloads.dsource.org/projects/dwt-linux/dwt-win-libs.zip

They don't contain any DWT code, only the import libraries to link to the windows system DLLs.


Building with dsss
===================
Per default dsss has the option 'oneatatime' enable.
This make dsss to compile one file at a time and building dwt take longer than 15 min.
Disable this option in the dsss/etc/rebuild/dmd-win-tango file.
Search for it (2 matches) and either delete those lines of change =on to =off.

Subsystem linker option
=======================
For dmd linker 'optlink' there is the option SUBSYSTEM which defines if the executable
shall be a console or windows application and the minimum required windows version (4=win95,5=win2000,6=vista)
-L/SUBSYSTEM:windows:5
Without this option, DWT renderes some controls not correctly. Eg. table headers are not shown.

Themes
======
To use theming in winxp, there is a manifest necessary. This forces windows to load comctl32.dll
in version 6 instead of 5.
Use the resource compiler from visual studio "rc dwt.rc" to get dwt.res
Link it with -L/RC:dwt.res