🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #615

Appending to a file with OpenFile

#615
From: Brian Goble
Date: Sat, 10 Nov 1990 07:01
10 lines
1003 bytes
Is it possible to append to a file using OpenFile?  When I use OF_WRITE, the
existing file data gets overwritten.  I can't use OF_REOPEN because I'm
working with a permanent data file so the OFSTRUCT info will get lost every
time the program terminates.  Is there a way (thru Windows) to move the file
pointer?

I know I could just use regular C file routines but I'd like to stick with
the Windows file routines if possible.  Thanx in advance for any info/help.

Brian Goble        |   goble@wolf.cs.washington.edu
Technical Details
Message-ID: <13694@june.cs.washington.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!uw-june!wolf.cs.washington.edu!goble

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!uw-june!wolf.cs.washington.edu!goble
From: goble@wolf.cs.washington.edu (Brian Goble)
Newsgroups: comp.windows.ms.programmer
Subject: Appending to a file with OpenFile
Message-ID: <13694@june.cs.washington.edu>
Date: 10 Nov 90 07:01:50 GMT
Sender: news@cs.washington.edu
Reply-To: goble@wolf.cs.washington.edu (Brian Goble)
Organization: University of Washington Computer Science
Lines: 10