I've been working on a DLL wrapper for volume shadow copy recently and today I decided to try it out on a 64-bit operating system. I chose Windows Server 2008 and tried to set it up on a VMWare WorkStation v6 virtual machine. The OS installed correctly up until the final reboot, after which I got an error message indicating that my CPU was "cpu not compatible with 64-bit mode". This confused me as I had indicated in VMWare that I would be installing a 64-bit OS.
A little bit of research revealed to me that support for Windows Server 2008 had been released after the initial release of VMWare Workstation 6. I was at version 6.0.0. The most recent release of VMWare workstation 6 is 6.0.4. I thought upgrading to this more recent version might solve my problem and enable me to run Windows Server 2008 in a VMWare virtual machine.
Upgrading didn't work, but I noticed a log message saying something about my CPU not supporting 64-bit VMs. Perhaps it's the Dell Precision M65 laptop that I'm using?
Anyway, for the moment I give up...
When I first started work on the DLL wrapper I ran into some odd error messages. I wasn't sure what the problem could be: everything looked correct each time I reviewed the code. I suspected a COM problem, perhaps something having to do with CoInitializeSecurity and unable to find satisfactory examples on the internet, I finally called Microsoft.
The support rep there was very helpful and after a few minutes was able to discover that I had a header/lib mismatch. With this straightened out and some additional friendly COM and interop advice I was able to quickly get my DLL to work.
One interesting note: One of the microsoft reps that I talked with pointed out this great way to list the functions in a lib: dumpbin /all vssapi.lib >vssapi.txt
If you're interested in Volume Shadow Copy, then this Microsoft Channel 9 interview with some of the developers who worked on Volume Shadow Copy might be of interest. I found the video on the official blog of the storage team at Microsoft. The blog also has lots of great info about volume shadow copy.
The channel 9 interview's description of volume shadow copy in vista inspired me to dig out my MSDN vista CD and install it in a VM. This is the first time I've really looked at Vista, and I'm impressed. I'm looking forward to seeing if my VSS DLL wrapper will work. I know I'll have to recompile it with Vista libs and headers and so am now downloading the Vista SDK.
A little bit of research revealed to me that support for Windows Server 2008 had been released after the initial release of VMWare Workstation 6. I was at version 6.0.0. The most recent release of VMWare workstation 6 is 6.0.4. I thought upgrading to this more recent version might solve my problem and enable me to run Windows Server 2008 in a VMWare virtual machine.
Upgrading didn't work, but I noticed a log message saying something about my CPU not supporting 64-bit VMs. Perhaps it's the Dell Precision M65 laptop that I'm using?
Anyway, for the moment I give up...
When I first started work on the DLL wrapper I ran into some odd error messages. I wasn't sure what the problem could be: everything looked correct each time I reviewed the code. I suspected a COM problem, perhaps something having to do with CoInitializeSecurity and unable to find satisfactory examples on the internet, I finally called Microsoft.
The support rep there was very helpful and after a few minutes was able to discover that I had a header/lib mismatch. With this straightened out and some additional friendly COM and interop advice I was able to quickly get my DLL to work.
One interesting note: One of the microsoft reps that I talked with pointed out this great way to list the functions in a lib: dumpbin /all vssapi.lib >vssapi.txt
If you're interested in Volume Shadow Copy, then this Microsoft Channel 9 interview with some of the developers who worked on Volume Shadow Copy might be of interest. I found the video on the official blog of the storage team at Microsoft. The blog also has lots of great info about volume shadow copy.
The channel 9 interview's description of volume shadow copy in vista inspired me to dig out my MSDN vista CD and install it in a VM. This is the first time I've really looked at Vista, and I'm impressed. I'm looking forward to seeing if my VSS DLL wrapper will work. I know I'll have to recompile it with Vista libs and headers and so am now downloading the Vista SDK.