From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: ALLEGRO KEYBOARD BUG ? Date: Sat, 21 Jun 1997 14:26:26 -0400 Organization: Cornell University http://www.cornell.edu Lines: 61 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <33AC1CD2.4189@cornell.edu> References: <339fdb32 DOT 501485 AT news DOT kkf DOT de> <33aa7a36 DOT 9071899 AT news DOT kkf DOT de> <+f88jAAhuapzEwbu AT talula DOT demon DOT co DOT uk> <33a7a20b DOT 2353000 AT news DOT kkf DOT de> <33AB21B1 DOT 5E9B AT cam DOT org> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0063.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Vic wrote: > > Shawn Hargreaves wrote: > > > > Count Floyd writes: > > >The Demo.exe & Grabber don't open a "DOSBOX" (MS-DOS Textmode > > > Window) > > >in the beginning while Example 15 does... > > > > I'm afraid I still don't follow you: Win95 _always_ starts DOS apps > > up > > in a text mode window, and the Allegro programs later switch into > > graphics mode. There's no function to open up a "DOSBOX", it's > >something > > that Win95 does without the program having any involvement in it... > Well, I dunno who said that in the first place, but: > The graphics programs DO open a window! but shortly after that window > is > closed because the program switches to graphics mode. > On the other hand example 15 needs a parameter on the command line. If > you don't provide it , the program will say "you need to invoke me > like this blah blah" or whatever it says then will exit. You will now > have a inactive dos box on the screen. > What this has to do with a possible bug in allegro, I dunno. > -- ok, people other than shawn on this thread, you have your win 95 terminology totally mixed up. i suggest you fool around with the properties of some dos applications on your hard drive to fully understand how win 95 invokes dos apps etc. shawn said it once, but it seems it wasn't enough: allegro has nothing to do with how any dos program starts up under win 95. if you type ex15 mysha.pcx in a windowed dos box, win 95 will switch that to full screen so that it will run properly. if you double click on the name in explorer, you will not have passed the name of the picture to display, and hence ex15 will not run. it will display Usage: 'ex15 filename.[bmp|lbm|pcx|tga]' and terminate. now, you may or may not see this message depending on the default properties of dos windows in your system. _YOU_ set those properties. hence, either the window will close after execution and you will miss that message, or it will become inactive (with the message ex15.exe - finished in the title bar.) if i go on any more, i'll write a couple of win 95 for dummies books so i should stop. i would suggest terminating this thread as it is unnecessarily polluting djgpp related programming questions with mundane win 95 user interface issues. -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ Unsolicited e-mail is _not_ welcome, and will be billed for. *******************************************************************