delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/20/18:00:31

From: jaspeers AT aol DOT com (Jaspeers)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 255 error
Date: 20 Dec 1997 17:41:38 GMT
Lines: 19
Message-ID: <19971220174101.MAA14637@ladder01.news.aol.com>
NNTP-Posting-Host: ladder01.news.aol.com
Organization: AOL http://www.aol.com
References: <349b49de DOT 19034473 AT news DOT earthlink DOT net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>My friend can compile his program ok in DJGPP but when he trys to run
>it says....
>
>Program exit code: 255 (0x00ff)
>then in the message window it says:
>Call frame traceback:
>in function draw_sprite+25
>in function _ctrl_startup+138
>
>This doesn't happen for me when I compile it and run it... anyone know
>what he's doing wrong?? I'm stumped.. I can send source code if you
>need to look at it...
>

The program is probably writing someplace in memory where it shouldn't be... 
I'd be willing to bet you're running the program in Win95, while your friend is
running it in dos mode, using CWSDPMI...  CWSDPMI is more strict about such
things, so your program will crash under dos but not always under win95.  This
IS a good thing, it makes you be more careful while programming...

- Raw text -


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