www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/21/00:45:50

From: Radical NetSurfer <radsmail AT juno DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Detecting File in Use?
Date: Sat, 21 Apr 2001 00:44:50 -0400
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <q142et86haqtgeileohcgemoni9bctv9mf@4ax.com>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
X-Complaints-To: newsabuse AT supernews DOT com
Lines: 21
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

How does one know if a file is ALREADY in USE by
some application BEFORE any actual attempt to open
or access that file?

My Builder application seems to be acting very irratically because its
trying to access a file which is already opened by another application
-- so I need to be able to detect that....

would there be a    try...catch   for fopen or FileOpen for such
issues?

THANKS!

email: radsmail AT juno DOT com
http://members.tripod.com/~RadSurfer/

Join us on Yahoo at:
http://groups.yahoo.com/group/BorlandCPPBuilder
for informal discussions about all versions of C++Builder...
[Computer programming for Windows 95, and Console32]
(you must be a Yahoo member to join)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019