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-02 03:28:47 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newspeer.clara.net!news.clara.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada References: <9OM%6.1796$9K4.651359@news2-win.server.ntlworld.com> <3B3FAD19.AAB82FC7@acm.org> Subject: Re: Problem with exes on Windows MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Mon, 2 Jul 2001 11:24:38 +0100 NNTP-Posting-Host: 213.104.128.174 X-Complaints-To: abuse@ntlworld.com X-Trace: news6-win.server.ntlworld.com 994069405 213.104.128.174 (Mon, 02 Jul 2001 11:23:25 BST) NNTP-Posting-Date: Mon, 02 Jul 2001 11:23:25 BST Organization: ntlworld News Service Xref: archiver1.google.com comp.lang.ada:9317 Date: 2001-07-02T11:24:38+01:00 List-Id: > > 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. Ahh, I see! It works now cheers Jeff, Chris Campbell