🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2553

Re: HPFS and IBM C/2, part two

#2553
From: Mikael Wahlgren
Date: Wed, 17 Apr 1991 22:45
19 lines
1481 bytes
In article <41343@cup.portal.com> Ramesh_Rama_Pendakur@cup.portal.com writes:
>I don't know about your version of the Operating System, but in OS/2 1.3
>the better way would be to use DosOpen2. As for C Run-time support, it 
>might use the old version of DosOpen. 
>Just a wild guess. Try it anyway. Post the results if you would.

This is dead WRONG, and so it was a couple of weeks ago when someone told
the same thing.

The -2 calls (like DosOpen2) are NOT for HPFS support, but for Extended
Attribute linking.  The "old" API's fully support the HPFS long filenames,
and the only thing you have to do is to use the DosOpen call and set the
NEWFILES flag in your EXE-header.

If you use a C-function for opening a file (like fopen), this should also
be OK with HPFS long filenames, but you have to check that the library
reserves enough space for your filename.

Mikael Wahlgren      d9mikael@dtek.chalmers.se
Technical Details
Message-ID: <1991Apr17.224536.879@mathrt0.math.chalmers.se>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sunic!chalmers.se!mathrt0.math.chalmers.se!d9mikael
References: <1991Apr16.183355.15480@grasp1.univ-lyon1.fr> <41343@cup.portal.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sunic!chalmers.se!mathrt0.math.chalmers.se!d9mikael
From: d9mikael@dtek.chalmers.se (Mikael Wahlgren)
Newsgroups: comp.os.os2.programmer
Subject: Re: HPFS and IBM C/2, part two
Message-ID: <1991Apr17.224536.879@mathrt0.math.chalmers.se>
Date: 17 Apr 91 22:45:36 GMT
References: <1991Apr16.183355.15480@grasp1.univ-lyon1.fr> <41343@cup.portal.com>
Sender: news@mathrt0.math.chalmers.se (Evald Nyhetsson)
Organization: Chalmers University of Technology, Gothenburg, Sweden
Lines: 19