I'm having trouble copying files from my Windows XP machine to my VM running Workstation 6 with Windows XP.
I have successfully connected, powered on and logged into the VM. However when I run :
jobHandle = VixVM_CopyFileFromGuestToHost( vmHandle,
"C:
test.txt", // src name
"C:
test.txt", // dest name
0, // options
VIX_INVALID_HANDLE, // propertyListHan
NULL, // callbackProc
NULL); // clientData
err = VixJob_Wait(jobHandle, VIX_PROPERTY_NONE);
if (VIX_FAILED(err)) {
}
Vix_ReleaseHandle(jobHandle);
I get err == 4 VIX_E_FILE_NOT_FOUND. The file is present on my host machine.
Thanks
That function copies a file from the guest (the VM) to the host (where you're running the VIX app). Try VixVM_CopyFileFromHostToGuest().
That function copies a file from the guest (the VM) to the host (where you're running the VIX app). Try VixVM_CopyFileFromHostToGuest().
Thanks!
That was a pretty stupid mistake on my part 😛