I am trying to use RevertToSnapshot() from VIX 1.7 in a C# program to revert to a snapshot and I keep getting error 15 (VIX_E_FILE_ALREADY_LOCKED). The program is connecting to a Windows XP VM within Workstation 6.5. I have used this function quite a bit before in other programs that also connected to this same VM without any problems. In fact, a lot of the code I am using in this new program is copy pasted from other programs I wrote that I know work. I'm not sure if this is the cause of the problem, but I wrote this program in Visual Studio 2008 SP1 and run the program on a 32 bit Vista machine after my Windows XP machine running VS 2005 stopped working properly. The VM is powered on when I call RevertToSnapshot(). Anyone run into this before or have any idea what is going on?
↧