Newsgroups: comp.os.os2.programmer Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!grasp1!rol From: rol@grasp1.univ-lyon1.fr (Paul Rolland) Subject: HPFS and IBM C/2: opening files (Part 3) Message-ID: <1991Apr17.110322.17440@grasp1.univ-lyon1.fr> Date: Wed, 17 Apr 1991 11:03:22 GMT Organization: INSA Departement Informatique, Lyon, France Keywords: HPFS, C/2, fopen 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 - change the header with exehdr or another tools. Here are the results: - PROTMODE has no effect, except changing the value of the bytes at offset 88H and 8Ch. - I don't have either exehfr ot the other tool. So, I still have a SYS1943: A program caused a protection violation when I try to open a file whose name is DEBUG.TEST on my HPFS disk with fopen. HELP !!!! What have done that is wrong ? What am I supposed to install ? Paul. Paul Rolland, engineer [I hope :)] in July 91, Specialist of assembly on PC [Not too bad in fact :)], Trying to progress on Unix administration Email : rol@grasp1.univ-lyon1.fr