[racket] Problem on creating graphical exe on Windows

12 views
Skip to first unread message

Rahul Pandit

unread,
May 25, 2013, 12:03:33 PM5/25/13
to us...@racket-lang.org
Hello racketeers!

I've  installed 32-bit Racket on my 64-bit Windows 7 machine.
I created a distribution archive of a GUI program selecting gracket as the base.
But when I open the exe file,, the command prompt opens up along with the program's window.
Please tell me what to do..
Thanks.

coolrah...@gmail.com

unread,
May 25, 2013, 2:19:24 PM5/25/13
to us...@racket-lang.org
Update :
Just found out that my code contained 1 undefined object :
(new button% [parent panel] [label "Cancel"])

because of which command prompt was opening up.
So I defined it as below & the problem is solved now. :)
(define btn (new button% [parent panel] [label "Cancel"]))

But if some error occurs in run-time, the command prompt still shows up.
Is there a way to 'silently' deal with run-time errors?

Thanks.

____________________
Racket Users list:
http://lists.racket-lang.org/users
Reply all
Reply to author
Forward
0 new messages