>Date: Mon, 25 Jun 2007 20:19:50 -0400
>To: Jens Fisseler <[EMAIL PROTECTED]>
>From: Dean Herington <[EMAIL PROTECTED]>
>Subject: Re: [Haskell-cafe] avoiding command window with wxHaskell on Windows?
>Cc: [EMAIL PROTECTED], [email protected]
>
>At 10:10 PM +0200 6/23/07, Jens Fisseler wrote:
>>On Sat, 23 Jun 2007, Dean Herington wrote:
>>
>>>  But if I double-click the .exe file, I get a command window that 
>>>hangs around
>>>  (but doesn't appear to do anything, fortunately) until the 
>>>program terminates.
>>>  How can I avoid this command window?
>>
>>With gtk2hs, using "-optl-mwindows" as a command line option for GHC lets
>>me get rid of this window. Perhaps it will do the same for wxHaskell?
>
>Yes, that did the trick!  Thanks a lot!

But now I've discovered that using "-optl-mwindows" creates a program 
that doesn't work when invoked from a command line.  Is there any way 
to create a program that can work when invoked either from a command 
line or through double-clicking?

Dean

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wxhaskell-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to