Hello All,

I am using GetSaveFileName function to create Save dialog box and to save specified file in VC++.
But I want to detect, whether the specified file is already open or in use before save.

How to determine whether file is in use and prompt an error message?

Thanks.