Date: Wed, 2 Dec 1998 10:57:42 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Teresa Mah cc: djgpp AT delorie DOT com Subject: Re: fopen problem In-Reply-To: <36647224.8675B98F@home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Tue, 1 Dec 1998, Teresa Mah wrote: > I opened a binary file using > > fopen(filename, "rb") > > and the file will open when the program is run from Win95, but not from > NT. Does anyone know why? Probably some bug or incorrect usage in your program. Post a short program here, explain what does ``will not open'' mean, and somebody will find the culprit. One possible problem might be that you tried to open a file using its long name. DJGPP programs cannot access long file names on NT (see section 3.3 of the DJGPP FAQ list).