Posted by Dave Hahner on June 08, 2007 at 07:01:12: Uploaded files: 1
I have a program that is trying to write a series of text files using the dos function calls for creating, opening writing and closing dos text files. All works well till it hits the 49th file. It then gets an error opening the file. I have trapped the file handle register and I see that it always ups the counter each time I go through the routine even though I close the file handle before leaving. Attached is the code I am using. Is there a way to stop the automatic increment of the file handle number.
Dave