larger executable building with DWT-WIN
yidabu
yidabu.nospam at gmail.com
Sun Mar 2 16:04:45 PST 2008
larger executable building with DWT-WIN
A helloworld.exe build with DWT-WIN (-release), the executable size is 1.93 MB :
import dwt.widgets.Display;
import dwt.widgets.Shell;
void main ()
{
Display display = new Display;
Shell shell = new Shell(display);
shell.setText = "Hello DWT World";
shell.open;
while (!shell.isDisposed)
if (!display.readAndDispatch)
display.sleep;
display.dispose;
}
build with DFL (-release), the exectuable size is 284 KB :
import dfl.all;
int main()
{
Form myForm;
myForm = new Form;
myForm.text = "Hello world";
Application.run(myForm);
return 0;
}
Anybody now What's cause this, How larger executable size building with DWT-WIN ?
--
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
More information about the Digitalmars-d-dwt
mailing list