Page 1 of 1
Can I use newlisp without console window?
Posted: Fri Jul 21, 2006 12:23 pm
by Tentaclius
Please tell, how can I use (is it possible?) newlisp without appearing console window?
Also is it possible to disable console window appearing if use (! ...) function?
Thanks alot...
Posted: Fri Jul 21, 2006 7:14 pm
by pjot
Hi Tentaclius,
Welcome to newLisp, the best programming language on earth!
The answer to your question is: YES, you can.
http://www.turtle.dds.nl/run/index.html
Furthermore, instead of using '!' to launch a binary, you may also use '(process)', which has an option to hide the application window.
Cheers
Peter
Posted: Thu Aug 10, 2006 11:10 pm
by pjot
Also you can recompile newLisp with MinGW, and modify the makefile with the linkerflag '-mwindows'. Then there will be no DOSbox when running a newLisp program.
Peter
Posted: Fri Aug 11, 2006 5:47 am
by HPW
You can also consider to use the DLL-version of newLISP which you can embed in every other popular programming language. (with/without GUI).
Posted: Sun Dec 10, 2006 11:26 pm
by Sleeper
Code: Select all
(import "kernel32.dll" "FreeConsole")
(FreeConsole)
this code works for me... it hides console window when you want.
just add this as first two lines of your script
Posted: Sun Dec 24, 2006 9:42 pm
by pjot
Folks,
The RUN-wrapper has been improved. Now processes started with 'run.exe' can be terminated with 'stop.exe'. For details look here:
http://www.turtle.dds.nl/run/index.html
Also additional processes spawned by the executed newLisp programs (similar to Unix "child-processes") will be terminated, to keep your processlist clean.
Enjoy
Peter
Posted: Thu Jan 04, 2007 10:45 pm
by alex
to Sleeper and Lutz
It must be in Tips&Tricks (IMHO)?
Posted: Thu Jan 04, 2007 10:51 pm
by alex
More precise - in "Code_Snippets"