Message-Id: <199812231852.SAA11788@remus> From: "Arthur" To: Subject: RE: Application cannot be restored Date: Wed, 23 Dec 1998 18:50:54 -0000 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 In-Reply-To: Importance: Normal Reply-To: djgpp AT delorie DOT com > This is a problem that is commonly manifested in graphical > programs using any > resolution above VGA Mode 13h and Mode-X (at least those work for > me). If you > are using graphics modes from at least 640x480, or myabe 512x384, > never tried > it, that is the problem. That's not strictly true - I can task-switch almost any Allegro program running under VGA, ModeX, VESA or FreeBE/AF under Win95 at any resolution, although not in a window. > If you know you are going to be switching out, press ALT-ENTER so > it says the > program can only be run in the full screen. Do your Windows thing > and go back, > pressing alt-enter again. If Windows just pops up some dialog for > some reason > such as it wants to ask you if it's ok to keep processing, then you're in > trouble. > > It's not a DJGPP bug - Descent 2, Quake, and Warcraft2, all high > res games, > crash as well. OK, Quake is a bad example, it WAS written in > DJGPP. Workaround : > play using mode 13h or mode-x (not very useful, but it does work). It's not always a graphics bug. Sometimes if Windows interrupts RHIDE while I'm doing something complex with it (like debugging) it tells me that the program cannot be restored. That could be a fault with my program though :-) I'm afraid that a light wind blowing on the other side of the world can affect how well Windows handles DOS (or even itself). For minimum hastle, run a DOS program in DOS mode rather than under Windows and/or make sure that you have the very latest version of Windows95 since that has a lot of the DOSbox bugs fixed. I have never had to tell my version of Win95 to switch to DOS mode to run a DJGPP program, and don't need to set it in the properties tag of the program. As I said, I can almost always task-switch out of (and into) a program with ALT-TAB. I can do this with Quake, Descent and Warcraft (suggest you look at your configuration settings). To the original poster: BTW, what do you find problematic about the FAQ? I've always found it really easy to navigate. The html version is especially easy, as it's got loads of cross-referencing links all over the place. If I can't find a problem in the contents or the index, a quick search for a keyword does the trick. For instance, a quick find revealed that section 10.3 of the FAQ covered your particlular problem. James Arthur - jaa AT arfa DOT clara DOT net http://www.jado.org/users/arfa/ ICQ#15054819 > Michael N. Kondaurov wrote in message > news:5891BE355FE AT csd DOT inp DOT nsk DOT su... > > Dear sirs! > > At first,sorry to my question,but our link to Internet is so slow > > and find something in your FAQ's is impossible. > >Situation: > > When i switch from my DJGPP applicatin to WIN95 and then try > > to switch again to application, Win95 wrote: > > "This application cannot be restored and will be terminated" > > The other my DJGPP applications work correctly. > > But this is more bigger and allocates about 3MB of memory. > > > >