view README.txt @ 154:b0279a69d976

BidiUtil
author Frank Benoit <benoit@tionex.de>
date Thu, 14 Feb 2008 19:07:08 +0100
parents 029d0df3f515
children f8001bf383d2
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.

In some situations, you may get linker errors when building the dwt examples.  
Try adding the "-full" switch to the dsss command line to fix these errors.

Example:

dsss build -full simple  

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.

Changes/Additions to SWT
========================
  o MessageBox can be instantiated without parent. Use the Ctor "this( int style )",
    calling the other ctors will still force a non-null parent.