c++ builder > fileIO > error > This process cannot access the file because it is being used by another process.
C++ Builder XE4
Windows 7 pro
ファイル書込み処理を繰り返すソフトを長期運用しているときに以下のエラーが出た。
This process cannot access the file because it is being used by another process.
以下を見つけた。
http://codeverge.com/embarcadero.delphi.general/the-process-cannot-access-the-file/1070027
1) Antivirus, indexers, icon handlers and anything else that monitors files or supplies info to explorer about them (column handlers etc) You've got an unfortunate file extension there in that it's the same as a html doc type and windows indexer will try and read it as such
SaveToFile()でなくSaveToStream()を使えという回答もある。
Author And Source
この問題について(c++ builder > fileIO > error > This process cannot access the file because it is being used by another process.), 我々は、より多くの情報をここで見つけました https://qiita.com/7of9/items/c0af0c436636daf41d50著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .