Hi.
Can opening of the dos window be avoided when starting a ltk application ?
Thanks
On Thu, 21 Jul 2011, Haris Bogdanovich wrote:
Can opening of the dos window be avoided when starting a ltk application ?
With varying degrees of difficulty, probably.
Fundamentally, the appearance of the console window is a compile-time setting. Microsoft applications are compiled as console or GUI mode; the OS shows the window based on this mode.
I believe the approaches were - create a shortcut and disable the console there (near compatibility mode info) and call that to start wish - find a tool that can change the mode flag in wish - find a different wish executable - recompile wish
I was looking at this for ABLE a year or two ago. There were a couple related lisp-implementation-dependent issues; don't remember whether I fixed the console problem. I don't have any real documentation on that effort other than what is in the list archives. Haven't had much hacking time this year.
Later, Daniel
You need to change the subsystem flag in the executable.
Step-by-step: 1. Download PE Tools (http://petools.org.ru/updates/pt_update_08_rc7.zip) 2. Launch PETools.exe 3. Menu: Tools -> PE Editor 4. Open a desired executable or dll 5. Press the "Optional header" button. 6. On the right, again, you'll see the "Subsystem" field. 7. Press the "..." button near the field. 8. Choose "Windows GUI".
The work of the executable is not guaranteed, however it should ;)
2011/7/21 Haris Bogdanovich fbogdanovic@xnet.hr:
Hi.
Can opening of the dos window be avoided when starting a ltk application ?
Thanks _______________________________________________ ltk-user site list ltk-user@common-lisp.net http://common-lisp.net/mailman/listinfo/ltk-user