From: S Prasad Newsgroups: comp.os.msdos.djgpp Subject: save_bmp problems. Date: Wed, 01 Jul 1998 21:41:21 -0400 Organization: Ameritech.Net http://www.ameritech.net/ Lines: 10 Message-ID: <359AE540.8D1585A0@ameritech.net> Reply-To: aangels AT ameritech DOT net NNTP-Posting-Host: 206.141.209.132 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In 640x480 mode, I have an off-screen bitmap called "Back." I use the following code to (try to) save the bitmap: get_palette(Palette); save_bmp("Game.bmp", Back, Palette); The function save_bmp returns 22, and therefore does not save the Back bitmap. Has anyone had similar problems, or does anyone know of a solution? I think it may be due to my enormous arrays which use LOTS of memory.