From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: fclose??? Date: Sat, 10 Mar 2001 23:51:08 -0500 Lines: 31 Message-ID: <98f05q$1jsp5$1@ID-57378.news.dfncis.de> References: <3AAAE89C DOT 6050002 AT operamail DOT com> NNTP-Posting-Host: 209-130-220-244.nas1.roc.gblx.net (209.130.220.244) X-Trace: fu-berlin.de 984286203 1700645 209.130.220.244 (16 [57378]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Sahab Yazdani" wrote in message news:3AAAE89C DOT 6050002 AT operamail DOT com... > > PS. Does anybody know where to get NASM? Their site has a download, > but it is just documentation. (Latest Version is 0.98). go http://www.cryogen.com/nasm/ it's there (both NASM and documentation, look more closely). > Hello everybody, i'm having a whole string of strange problems which > seem to be very loosely interconnected. The first is that my program is > crashing with a call to fclose. I've checked the pointers and they seem > to be fine (as far as I can tell). The code is supposed to open a > Windows Bitmap (BMP) file and store it in an linear array: > Dunno. Are you sure you don't corrupt any memory related to this file or any other places of program which shouldn't be overwritten by something from a file? Good Luck -- Alexei A. Frounze alexfru [AT] chat [DOT] ru http://alexfru.chat.ru http://members.xoom.com/alexfru/ http://welcome.to/pmode/