I'm working on a program wich will move a lot of file to another directory... If the moving was a success it return me true, if not, it return me false.
In some case, it's possible that the file will be open and thats normal. than i expect windows to return me a false operation. but is not. the movefile fonction move the file anyway! that's a problem.!!!! I made some test and notice that if the file is completely open in memory, like a file in notepad, windows dont care about it and move it... wich causing a trouble when the person want to save that file... If the file is too big... like AVI file, than it return me the error i expect...
My questions is .... it is normal? Is this another weird hiding windows settings?
Thank you very much!