Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!ogicse!milton!serval!yoda.eecs.wsu.edu!wbonner From: wbonner@yoda.eecs.wsu.edu (Wim Bonner) Newsgroups: comp.os.os2.programmer Subject: Re: HPFS and IBM C/2: opening files (Part 3) Keywords: HPFS, C/2, fopen Message-ID: <1991Apr17.200054.11479@serval.net.wsu.edu> Date: 17 Apr 91 20:00:54 GMT References: <1991Apr17.110322.17440@grasp1.univ-lyon1.fr> Sender: news@serval.net.wsu.edu (USENET News System) Organization: Washington State University Lines: 24 In article <1991Apr17.110322.17440@grasp1.univ-lyon1.fr> rol@grasp1.univ-lyon1.fr (Paul Rolland) writes: >Hi Networkers, > > This is the third part of my adventures with OS/2... I asked you >yesterday about a way to access files on an HPFS disk with IBM C/2. I've >been answered to: > - define PROTMODE in my .DEF file used at link time or What you need to add to your .DEF file is an option on the NAME line. make it so that the line reads something like the following: NAME [appname] [apptype] NEWFILES and it should be able to deal with Long File names. I pulled this from the help I got when I typed LINK /HELP, looked at the command options, then Name Application Type, then another submenu, the NAME statement. Hope that this helps.. Wim. -- | wbonner@yoda.eecs.wsu.edu | The Loft BBS | 27313853@wsuvm1.csc.wsu.edu | (509)335-4339 | 72561.3135@CompuServe.com | USR HST Dual Standard HST/V.32