VMware Communities
mrubinwms
Contributor
Contributor

Failure to open files as shared read/write under Windows 7 / Fusion 7.1

I've got an install of Windows 7 Enterprise (SP1) running under VMWare Fusion Pro in Yosemite 10.10.2 on a 15" rMBP. I've tried both version 6.1 and now 7.1 of Fusion and am seeing the same behavior. In the Windows VM, I'm compiling and running my own program which is attempting to open some files with the FILE_SHARE_READ | FILE_SHARE_WRITE sharing flags on dwShareMode of CreateFile (see CreateFile function (Windows)). What I'm seeing is errors like:

The process cannot access the file 'C:\fnrk4j0w.tmp' because it is being used by another process.

(Where C:\fnrk4j0w.tmp is my file that I'm trying to open for writing)

I can confirm that numerous 'native' PCs that are running this same version of Windows and same software are not seeing this issue. My current assumption is that something in VMWare Fusion is failing to properly work with this kind of share mode on files (?).

Is there anything that I can do to try to debug this issue?

Thank you very much.

Reply
0 Kudos
0 Replies