Im replacing the fixed problem in earlier versions of the file left as a model with a live one You can write up, for anybody who shares your eWriter, any problem you come across, together with work-arounds. Then, tell me about it, too, at acorioso@ccnet.com. Just put your paragraphs between a pair of lines.
--Gene Fowler
December 26, 2001
This problem has been there from at least the beginning of my using Delphi 5 and probably from the beginning, period. It comes up when doing file management in the File/Open dialog (or, for that matter, any of the variants). Specifically, when using the right-click Send to Floppy. I do quite a lot of working on pages of books. I open a file, using either the Open dialog or the Recent Opens list on the bottom of the File menu. I may open other files, close some too. When I Save a file, I often open the File / Open dialog, and save to the floppy and cancel the dialog.
I sometimes change the dialog to detail and hit Modified to get the worked on file to the top of the list. Occasionally, I select a couple files and Send to Floppy. Usually, it goes smoothly enough. But once in a while, if Ive been hitting it hot and heavy, ...I trigger a Shell32 error and a couple of follow up errors (all seen if Im running in the Delphi debugger). But for my usual activity, I may go a long time without that happening.
Heres what you will see:
This is a lot clearer, of course, than what youd have seen in any earlier eWriter. Ive run a lot of experiments. If you work as I described above, but let the files open get down to zero, then try that Send to Floppy, you get the error. Opening new files, before or after that empty wont help, either. Now, that is crazy. I have looked at Delphis code for opening the Windows Common Dialogs. I do not see anything that even suggests that Delphi or windows takes a look at my files open situation. It has driven me crazy ...because what I do seems to affect the situation.... Sigh! The live question: Why should two clicks of File / Open get a dialog with different innards other than those I set (index, title, filename, etc.)?
Workaround: Well, apart from keeping it simple and getting another file before getting rid of what is the last one (you don't have to save the file you just saved), you can keep a copy of Windows Explorer open to the directory and do file management from there. Certainly, do any heavy duty file management from there.