Re: Close window
Bernie writes:
> ... is there a way for a exw.exe script to not open a console window?
> This script does not seek user input via console, te the window
> opens and waits for the enter key to be struck...odd behavior....
> any suggections?
Executing free_console() in dll.e should make your
console window go away, although it will come back again
if your program does any console I/O.
A console window appears automatically in a
Windows Euphoria program whenever you print to
the screen with printf(), puts() etc., input text from the
keyboard using gets(), getc() etc. or you call
clear_screen(), position() or any function that
interacts with the DOS-style console in some way.
You'll also get a console window if your program
gets error or warning messages from Euphoria.
You can always shut off warnings by saying:
without warning
at the top of your program.
GUI programs normally don't use any DOS-style
console I/O routines. They use the routines supplied by
Win32Lib (or some other GUI library) to interact with the user.
Regards,
Rob Craig
Rapid Deployment Software
http://www.RapidEuphoria.com
|
Not Categorized, Please Help
|
|