I am creating a video in my app with AVIFileOpen(&pfile, fn, OF_WRITE | OF_CREATE | OF_SHARE_DENY_NONE, NULL); and I can't acces the avi file while it is creating.
I debugged into the function and it is calling CreateFile() with dwShareMode = 0 (exclusive); somewhere along the way it is losing the share mode. Didn't work with OF_SHARE_DENY_WRITE, either. I guess it's just a bug. This was on Windows XP SP3.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more