root/README.txt

Revision 222:f9012ceeafea, 2.2 kB (checked in by Frank Benoit <benoit@tionex.de>, 2 months ago)

update README.txt info

Line 
1 DWT-Win
2 =======
3
4 Requirements:
5 =============
6 Buildtool : DSSS 0.75
7 Compiler  : DMD 1.028
8 D Lib     : Tango release 0.99.6
9 Import libs
10 Please check also http://www.dsource.org/projects/dwt/wiki/Requirements
11
12 Import libs:
13 ============
14 To link everything you need the import libs.
15 They are not included in the source repository, please use this archive
16
17     http://downloads.dsource.org/projects/dwt/dwt-win-importlibs.zip
18
19 They don't contain any DWT code, only the import libraries to link to the windows system DLLs.
20
21
22 Building with dsss
23 ===================
24 Per default dsss has the option 'oneatatime' enable.
25 This make dsss to compile one file at a time and building dwt take longer than 15 min.
26 Disable this option in the dsss/etc/rebuild/dmd-win-tango file.
27 Search for it (2 matches) and either delete those lines of change =on to =off.
28
29 In some situations, you may get linker errors when building the dwt examples.
30 Try adding the "-full" switch to the dsss command line to fix these errors.
31
32 Example:
33
34 dsss build -full simple
35
36 Subsystem linker option
37 =======================
38 For dmd linker 'optlink' there is the option SUBSYSTEM which defines if the executable
39 shall be a console or windows application and the minimum required windows version (4=win95,5=win2000,6=vista)
40 -L/SUBSYSTEM:windows:5
41 Without this option, DWT renderes some controls not correctly. Eg. table headers are not shown.
42
43
44 WinXP Theming and Controls
45 ==========================
46 With WinXP it is required to make windows use a manifest.
47 There are several ways to make this manifest available.
48 1.) Place the manifest file in the same directory where the .exe is.
49     E.g.
50         application.exe
51         application.exe.manifest
52 2.) Link the content of the manifest to the application as a windows resource.
53 3.) Have another program that uses resource injection to put the manifest into the application
54 4.) Let the application write the manifest to a an external file and load it.
55     This had problems in the past, some applications on some machines did not load images.
56
57 1. .. 3.) Seems to work reliable.
58
59  * Using 2.
60    compile the dwt.rc/dwt.exe.manifest files with rcc.exe from the digitalmars to create the dwt.res.
61      rcc dwt.rc
62    link the resulting dwt.res with the -L/rc:dwt.res
Note: See TracBrowser for help on using the browser.