delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/02/04:52:36

Date: Wed, 2 Dec 1998 10:57:42 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Teresa Mah <tmah AT home DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: fopen problem
In-Reply-To: <36647224.8675B98F@home.com>
Message-ID: <Pine.SUN.3.91.981202105708.24125Q-100000@is>
MIME-Version: 1.0
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).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019