From: Sid 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 - --------------------------------- Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.