Re: stray console window
- Posted by DerekParnell (admin) Mar 13, 2010
- 1044 views
Thanks, that's much better! Just in time for me to burn my installation CDs.
There were a few issues but the main one was that it was using 'eub.exe' as the base executable and this is the 'character' mode program which always needs a console. I changed it to use 'eubw.exe' when the "-con" switch is not present and that is the pure windows mode program, which only opens a console when it needs one. Note that if the -con switch is used then 'eub.exe' is the base program.
The bind operation works by taking an IL interpreter program and appending the IL version of the Euphoria program to the end of it. There are two IL interpreters for the Windows platform - eub.exe and eubw.exe. You would use eub.exe if your Euphoria program is a console app otherwise you'd use eubw.exe if your app did its own windowing.