Hi All,
Can someone remind me of the mode I would use on fOpen in order to write a string to the beginning of an existing text file?
// open the file to write
nLogID is int = fOpen(sLogFile, foCreateIfNotExist+foAdd+foReadWrite)
IF nLogID <> -1 THEN
fWriteLine(nLogID, &sLogInfo, Length(sLogInfo))
fClose(nLogID)
// write out to service log
IF InServiceMode() THEN
IF evtType <> elWarning THEN
ServiceWriteEventLog(sLogInfo,evtType)
END
END
END
Thanks!
Georgio