Article View: comp.os.os2.programmer
Article #2572Re: HPFS and IBM C/2
From: Dan SPALDING
Date: Wed, 24 Apr 1991 01:55
Date: Wed, 24 Apr 1991 01:55
22 lines
1688 bytes
1688 bytes
In article <1991Apr16.162439.24649@grasp1.univ-lyon1.fr> rol@grasp1.univ-lyon1.fr (Paul Rolland) writes:
>
> fd=fopen("E:\\FILENAME","r");
didn't anyone tell you to check pointers for validity before using them?
the FILE* is null from fopen if the open failed. check you errno for more
info. maybe the file doesn't exist? anyway, it shouldn't be a problem to
open a file on an hpfs drive. it acts pretty much as a FAT drive would with
8.3 files. you might make sure your .exe is marked with the "long filename"
support if the file you are trying to open is not 8.3. the linker/def file
can be used to do this. just add "NEWFILES" to the line with the program name
in the .def file.
------------------------------------------------------------------------
dan spalding -- microsoft systems/languages -- microsoft!dans
"there has not been a word invented that would convey my indifference to
that remark." - paraphrase from hawkeye pierce
--
------------------------------------------------------------------------
dan spalding -- microsoft systems/languages -- microsoft!dans
"there has not been a word invented that would convey my indifference to
that remark." - paraphrase from hawkeye pierce
Technical Details
Message-ID:
<72022@microsoft.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!lll-winken!uunet!microsoft!dansReferences:
<1991Apr16.162439.24649@grasp1.univ-lyon1.fr>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!lll-winken!uunet!microsoft!dans From: dans@microsoft.UUCP (Dan SPALDING) Newsgroups: comp.os.os2.programmer Subject: Re: HPFS and IBM C/2 Keywords: HPFS, IBM C/2, files Message-ID: <72022@microsoft.UUCP> Date: 24 Apr 91 01:55:48 GMT References: <1991Apr16.162439.24649@grasp1.univ-lyon1.fr> Reply-To: dans@microsoft.UUCP (Dan SPALDING) Organization: Microsoft Corp., Redmond WA Lines: 22