From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ed02a87d9adb53a0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-01 16:07:14 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!crtntx1-snh1.gtei.net!lsanca1-snf1!news.gtei.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3B3FAD19.AAB82FC7@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Problem with exes on Windows References: <9OM%6.1796$9K4.651359@news2-win.server.ntlworld.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 01 Jul 2001 23:07:17 GMT NNTP-Posting-Host: 206.133.140.50 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 994028837 206.133.140.50 (Sun, 01 Jul 2001 16:07:17 PDT) NNTP-Posting-Date: Sun, 01 Jul 2001 16:07:17 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Sun, 01 Jul 2001 16:04:58 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:9307 Date: 2001-07-01T23:07:17+00:00 List-Id: "chris.danx" wrote: > > I compiled the following program with GNAT 3.13p for Win9X/NT (it uses JEWL by > John English). > > with Jewl.IO; > > procedure a_wee_test is > > procedure hello_world is > begin > Jewl.IO.message (" Hello World "); > end hello_world; > > begin > hello_world; > end a_wee_test; > > When i ran it from AdaGIDE it worked ok, however when I went to the program via > explorer and double clicked I got nothing what so ever -- there appeared to be > no message box, indeed no action, it was like the program just exited after it > started or didn't start at all. This hasn't happened before, usually i can run > programs built with GNAT outside the control of the compiler. Am I missing a > linker switch or something? I don't have this problem with GNAT3.13p/Win98 if I exclude the -mwindows linker argument. With -mwindows, this does happen. One thing to remember is that JEWL.IO writes to standard output as well as creating a dialog box, so unlike true Windows programs, you should not have the linker argument -mwindows. -- Jeff Carter "My brain hurts!" Monty Python's Flying Circus