www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - Only work from command line

reply tim m <tim.matthews7 gmail.com> writes:
Hi i've got a strange problem where i can compile the hello world example like
on here: http://www.dsource.org/projects/dwt/wiki/Installation but if i try to
run the main.exe that it creates nothing happens. If i type main in a command
prompt while in same directory it works perfectly fine though. im using the
code and dsss.conf exactly the same as that link.
Aug 01 2008
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
tim m schrieb:
 Hi i've got a strange problem where i can compile the hello world
 example like on here:
 http://www.dsource.org/projects/dwt/wiki/Installation but if i try to
 run the main.exe that it creates nothing happens. If i type main in a
 command prompt while in same directory it works perfectly fine
 though. im using the code and dsss.conf exactly the same as that
 link.

http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.dwt&article_id=1425 Perhaps this works here also. Then i should change the wiki page.
Aug 02 2008
parent tim <tim.matthews7 gmail.com> writes:
Frank Benoit Wrote:

 tim m schrieb:
 Hi i've got a strange problem where i can compile the hello world
 example like on here:
 http://www.dsource.org/projects/dwt/wiki/Installation but if i try to
 run the main.exe that it creates nothing happens. If i type main in a
 command prompt while in same directory it works perfectly fine
 though. im using the code and dsss.conf exactly the same as that
 link.

http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.dwt&article_id=1425 Perhaps this works here also. Then i should change the wiki page.

Thanks that worked great! I added a line to my dsss.conf and copied dwt.res into same folder then rebuilt. My new dsss.conf looks like this now. [main.d] buildflags+=-L/SUBSYSTEM:windows:5 buildflags+=-L/rc:dwt
Aug 02 2008