abhiv
September 7th, 2002, 11:26 AM
Hi,
I have come across a potential Win2k/XP defect. I was using the "file open" dialog in my code with OFN_FILEMUSTEXIST flag set. But the dialog returns a success if I take following steps while the dialog is open
1. select a file e.g. "test.txt"
2. Right click, select copy
3. Right click, select paste. The file is pasted as "copy of test.txt"
4. Press F2 and rename the file to "test1.txt"
5. The file name edit still shows "copy of test.txt". Click on OK.
Even though "copy of test.txt" does not exist, the dialog returns a success and the file name.
I tried this on Win2k Pro/Server, WinXP home. And the problem exists in all.
Has anyone come across this problem ? Are there any service packs addressing this problem ?
Regards,
Abhi
I have come across a potential Win2k/XP defect. I was using the "file open" dialog in my code with OFN_FILEMUSTEXIST flag set. But the dialog returns a success if I take following steps while the dialog is open
1. select a file e.g. "test.txt"
2. Right click, select copy
3. Right click, select paste. The file is pasted as "copy of test.txt"
4. Press F2 and rename the file to "test1.txt"
5. The file name edit still shows "copy of test.txt". Click on OK.
Even though "copy of test.txt" does not exist, the dialog returns a success and the file name.
I tried this on Win2k Pro/Server, WinXP home. And the problem exists in all.
Has anyone come across this problem ? Are there any service packs addressing this problem ?
Regards,
Abhi