I have been using SilverFrost fortran for a while. Since vers. 5.4, now 5.5, I have been getting a strange error, I believe from Fortran. The error states 'The process cannot access the file because it is being used by another process'. This error 'pops up' at different times during debugging with Plato. There seems to be no condition of repetition, just occurs, 'out of the blue' Anybody have any ideas or have experienced this also? Sid Kraft
Strange Error
If this error message occurs whilst your program is running then you need to find the point at which the program is failing and the file that is being accessed. /checkmate can be useful for this. Start up the debugger and run the program till it fails.
The error message means what it says. Maybe you have failed to close down another application (or another instance of the same application) that is using the same file. Unless you open the file with the necessary parameters, only one process at a time is allowed to open a file.
Hi Paul: Still trying to detect where my program is getting the 'system file error, trying to access a file which is being used by another program', I went to 'project Properties', checked the box 'call debug_source@', ran program, listed many '-trace nnn' lists, never failed, completed normally! How else can I access to get the error? Is very frustrating that it occurs so sporadically. Sid Kraft
You need to start and run your executable from SDBG. You can run SDBG directly or fire it up from Plato by pressing F7.