furiousel
October 14th, 2005, 06:22 AM
If you open a SaveDialog box and you save a file to path "C:\example\test.txt" for example, then you cannot rename or delete the folder "example" until you close the application. An error message appears and tells us that the folder is in use by another application.
You can see the problem if you save a document in Word for example, with the Save As dialog. Then close the document without closing Word and try to rename the parent folder of this file. You Cannot!
So, the SaveDialog box constrains the file. Do you know how we can free this file handle? I am using Borland C++ Builder 6.
Helias
You can see the problem if you save a document in Word for example, with the Save As dialog. Then close the document without closing Word and try to rename the parent folder of this file. You Cannot!
So, the SaveDialog box constrains the file. Do you know how we can free this file handle? I am using Borland C++ Builder 6.
Helias