www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/25/03:17:36

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP and Windows 95
Date: Mon, 21 Jul 1997 11:03:00 +0200
Organization: TU Chemnitz-Zwickau
Lines: 33
Message-ID: <33D325C4.7E665297@Mathematik.TU-Chemnitz.DE>
References: <33CAAA13 DOT 2CC5 AT videotron DOT ca> <33CC1E45 DOT 3C83 AT concentric DOT net> <33d04647 DOT 0 AT duster DOT adelaide DOT on DOT net>
NNTP-Posting-Host: prokyon.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Richard Sim wrote:
> 
>  What can I say, I'm having the total opposite problem, my game runs under
> Win95 but in DOS it crashes! No Win code, asm or anything, only standard C
> code!

You should remember that Windows 95 itself is a loosing game, because it
allows you to violate the memory without reporting it.

try the following code fragment on W95 and plain DOS:

void violate()
{
  char *s,
  s = NULL;
  strcpy(s,"Hello world\");
}

and see what happens.

To your problem: If you program crashes on DOS it has definitely some
bugs in
it (running OK on W95 does not mean that your program is OK. I had to
learn this)

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019