Hmm..Why not using MFC
Use CFile with CFile::shareDenyNone as one of the options.
Opens the file without denying other processes read or write access to the file. Create fails if the file has been opened in compatibility mode by any other process.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.