www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/24/23:50:45

From: Sid <zidharta AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Error General Fault Protection on quit???
Date: Wed, 25 Aug 1999 02:23:43 GMT
Organization: Deja.com - Share what you know. Learn what you don't.
Lines: 19
Message-ID: <7pvk33$ut4$1@nnrp1.deja.com>
NNTP-Posting-Host: 203.109.254.236
X-Article-Creation-Date: Wed Aug 25 02:23:43 1999 GMT
X-Http-User-Agent: Mozilla/4.08 [en] (Win95; I)
X-Http-Proxy: 1.0 x39.deja.com:80 (Squid/1.1.22) for client 203.109.254.236
X-MyDeja-Info: XMYDJUIDsidxidzid
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I made a bmp loader
it works fine but when the program quit
it gave general fault protection error ...
like when you have array overflow ...
why?... would anyone know what might be the problem?
Im suspecting that this has to do with dosmemput function
the problem occured on the actual displaying image
that is to send the buffer (C++ class static char) to dosmemput
may be someone have faced this similar problem before ...
note that the pic is displayed without problem ...



-Sidharta B <zidharta AT yahoo DOT com>-
---------------------------------


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

- Raw text -


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