X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: jbs30000 AT aol DOT com (Joel) Newsgroups: comp.os.msdos.djgpp Subject: Re: Need help with a bmp loading routine Date: 10 Oct 2004 02:50:23 -0700 Organization: http://groups.google.com Lines: 20 Message-ID: <84e4e2a9.0410100150.78b8a0eb@posting.google.com> References: <84e4e2a9 DOT 0410091839 DOT 3dbc2cd1 AT posting DOT google DOT com> <200410100251 DOT i9A2pB3N023425 AT envy DOT delorie DOT com> NNTP-Posting-Host: 172.144.177.207 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1097401824 28086 127.0.0.1 (10 Oct 2004 09:50:24 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Sun, 10 Oct 2004 09:50:24 +0000 (UTC) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com DJ Delorie wrote in message news:<200410100251 DOT i9A2pB3N023425 AT envy DOT delorie DOT com>... > > File_Handle = fopen(FileName, "r"); > > Should be "rb" to read binary files. Holy cow, I can't believe I missed that. But then again, it seems every time I have have a major problem, it comes from a tiny mistake. Anyway, that fixed it. Thank you very much. Oh, and if it's OK, I'd like to ask an unrelated question. Don't worry though, I won't make a habit out of it. In Rhide, every time I choose the MAKE from the COMPILE menu option, or shell to DOS, when I'm through, I get messages that one or more of my files have been modified and would I like to save the changes. Is there any way to stop this? I'm clearly not modifying my files, so I don't know why I keep getting these messages. If it make any difference, the version of Rhide I'm using is 1.4.9. Thanks.