Thread overview
Clipboard Example
Mar 09, 2008
Ty Tower
Mar 09, 2008
Ty Tower
Mar 10, 2008
yidabu
Mar 10, 2008
Ty Tower
Mar 10, 2008
Ty Tower
March 09, 2008
I have not found a class for this
Line 152
new ArrayWrapperString(data)
March 09, 2008
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@linuxbox dwt-samples-200a229be5ca]$

March 10, 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@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@linuxbox dwt-samples-200a229be5ca]$
> 


-- 
yidabu <yidabu.nospam@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


March 10, 2008
yidabu Wrote:

> 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@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@linuxbox dwt-samples-200a229be5ca]$
> > 
> 
> 
> -- 
> yidabu <yidabu.nospam@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
> 
> 
Thanks for your reply . No Joy there though. Same result . I am on Unix so changed command line as so

[tytower@linuxbox texteditor]$ dmd TextEditor.d Images.d -J/home/tytower/Desktop/Tango/dwt-samples/dwtexamples/texteditor
TextEditor.d(380): Error: undefined identifier codepointCount
TextEditor.d(380): Error: function expected before (), not codepointCount of type int
[tytower@linuxbox texteditor]$

Must have a look at your other links
March 10, 2008

> yidabu Wrote:
> 
> > 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



I think this is what you meant . Tell me if position or other should be otherwise, thanks


import dwtexamples.texteditor.Images;

version( JIVE ){
    import jive.stacktrace;
}
version(linux){
        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");  }
/**
 */
public class TextEditor {