CO2Fix is a freeware software for modeling carbon sequestration in ecosystems, initially developed in C++ and then moved to Visual C.
Each ecosystem (i.e. a forest plantation) is run as a separate model/file.
Last version of CO2Fix was used to act as a server for another software that can make calculations at landscape scale, asking CO2Fix to calculate each landuse and save results as a text file. The other software collects results and summarizes them.
Calculations requests are made through a simple text file created by the second software in a "temp" folder in the app. main folder, named "[url removed, login to view]". Inside this text file, there is the name of the CO2Fix file to be calculated.
A timer loop in CO2Fix checks if this file exists and if it finds it, then reads file name and calculates the corresponding model, erases the request text file and exports results as a text file. The second software creates a new request file and the process goes on until no further request files from the second software exist.
After running this process several times (between tens to hundreds of times), CO2Fix sends a message informing a given file doesn't exist (but it does), and the collaboration process stops.
It is required to fix this bug, so that software can calculate as many files as required. To do this, you could create a temporary exe file (C++ or whatever, or it could be a module inside the CO2Fix code) to feed temporary CO2Fix requests using sample files provided by us or those installed with the software as samples.
Original programmer is not available anymore and functioning of the other software depends on removing this bug.