Hi all
I'v installed workstation 6 on my PC, with Vista OS
I compiled the sample code file "PowerOn.c" from the VMWare automization SDK. when running the function
VixHost_Connect(VIX_API_VERSION,
VIX_SERVICEPROVIDER_VMWARE_WORKSTATION,
NULL,
0,
NULL,
NULL,
0,
VIX_INVALID_HANDLE,
NULL,
NULL);
The Returned VixHandle jobHandle was"63", witch seems to be fine, but, when running the next instruction -
err = VixJob_Wait(jobHandle,
VIX_PROPERTY_JOB_RESULT_HANDLE,
&hostHandle,
VIX_PROPERTY_NONE);
the returned error code was"3" - that is "VIX_E_INVALID_ARG"
What did I do wrong?
Thanks