Clipboard Example
yidabu
yidabu.nospam at gmail.com
Sun Mar 9 20:58:40 PDT 2008
build TextEditor step by step:
1. added to TextEditor.d and Images:
pragma(lib, "dwt.lib");
pragma(lib, "advapi32");
pragma(lib, "comctl32.lib");
pragma(lib, "comdlg32.lib");
pragma(lib, "gdi32.lib");
pragma(lib, "kernel32.lib");
pragma(lib, "shell32.lib");
pragma(lib, "ole32.lib");
pragma(lib, "oleaut32.lib");
pragma(lib, "olepro32.lib");
pragma(lib, "oleacc.lib");
pragma(lib, "user32.lib");
pragma(lib, "usp10.lib");
pragma(lib, "msimg32.lib");
pragma(lib, "opengl32.lib");
2. run
dmd TextEditor.d Images.d -Jyour\path\dwtexamples\texteditor -release -L/SUBSYSTEM:windows:5
On Sun, 09 Mar 2008 19:58:45 -0400
Ty Tower <tytower at hotmail.com.au> wrote:
> Same here it seems
> dwtexamples/texteditor/TextEditor.d => dwtexamples/texteditor/TextEditor
> + /usr/bin/rebuild -Idsss_imports/ -I. -S./ -I/home/tytower/d/include/d -S/home/tytower/d/lib/ -I/usr/include/d -S/usr/lib -I/home/tytower/d/include/d -S/home/tytower/d/lib -oqdsss_objs/D -g -gc -debug -Jdwtexamples/texteditor dwtexamples/texteditor/TextEditor.d -ofdwtexamples/texteditor/TextEditor
> dwtexamples/texteditor/TextEditor.d(364): Error: undefined identifier codepointCount
> dwtexamples/texteditor/TextEditor.d(364): Error: function expected before (), not codepointCount of type int
> Command /usr/bin/rebuild returned with code 256, aborting.
> Error: Command failed, aborting.
> [tytower at linuxbox dwt-samples-200a229be5ca]$
>
--
yidabu <yidabu.nospam at gmail.com>
SciTE4D Text Editor for D Programming Language:
http://scite4d.chinese-blog.org/
DWin library for D language, Windows COM support with Tango:
http://dwin.chinese-blog.org
images for D Programming Language:
http://dlogo.chinese-blog.org
More information about the Digitalmars-d-dwt
mailing list