Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Apr : Read Only files?

www.cryer.info
Managed Newsgroup Archive

Read Only files?

Subject:Read Only files?
Posted by:"Craig Hammon" (firebirdwebg..@hotmail.com)
Date:Fri, 25 Apr 2008 15:33:07 -0600

Hi,
I am wondering about a concept..

If you have an app, that opens files (Using TFileStream)  with read/write
privs, and modifies the data every so often...Say every 5 seconds..

And a separate app that does nothing other than open it and read the file,
say every 5 seconds.. Would there be an issue? Would they be able to work
together?

Would I have to use a Mutex? I thought I would, but it works without any
troubles at all.. Just wondering If Im just lucky.


Craig

--


______________________________________________________________
If our charities do not at all pinch or hamper us, I should say they are too
small...
There ought  to be things we should like to do and  cannot  do  because  our
charitable  expenditure  excludes them.

C.S. Lewis, Mere Chirstianity..

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive