Hello,
I have installed Virtual Disk Development Kit 1.0 on my development machine with Visual studio 2005 and I can correcty build and execute the example file vixDiskLibSample.exe on the same
local development machine.
The problem I am experiencing is that I cannot run the sample vixDiskLibSample.exe on other machines.
(I followed user guide to compile the sample project at path C:\Program Files\VMware\VMware Virtual Disk Development Kit\doc\sample)
I need to run my vixDiskLibSample.exe on a machine different from the one I use to develop this code.
Reading the doc
"
Windows requires the lib/vixDiskLib.lib file for linking, and the bin/*.dll files at runtime
"
I understand that I just need to copy the above files togheter with my vixDiskLibSample.exe to have the project working.
But on other machines (different from the one I use to build to code) it fails for missing DLLs.
I have 2 only ways to run my vixDiskLibSample.exe on a machine different from my development machine:
- install Microsoft Visual C++ 2005 Redistributable Package
- install the Virtual Disk Development Kit
(I also need to copy bin and lib from development kit)
One of the above step fixes my problem.
My questions are:
- is this normal or am I doing something wrong at Visual C++ compilation time ?
- Which DLLs are needed on a machine to have your example (vixDiskLibSample.exe) running without installing the Virtual Disk Development Kit or the Microsoft Visual C++ 2005 Redistributable Package ?
From the documentation it seems I just need bin and lib folder (from virtual disk kit installation folder) but I am getting the DLL missing error.
- using a dependency walker, it seems that the library file VIXDISKLIB.DLL needs MSVCR80.DLL and other ones: is it possible to have the list of dependency file in order
to manually copy all the needed dependencies ? (instead of isntalling the redistributable or the virtual kit on each machine running our sample code)
Thanks a lot,
Francesco