Hi All i'm starting to use the VIX api, and i'm getting 22003 error message this is the code NOTE: * i am running this code using VS 2017 , .net 4.72 the VC is 6.5 For vSphere, the VIX AP...
See more...
Hi All i'm starting to use the VIX api, and i'm getting 22003 error message this is the code NOTE: * i am running this code using VS 2017 , .net 4.72 the VC is 6.5 For vSphere, the VIX API was deprecated in 2012, as announced in the VIX 1.11 Release Notes. VIX 1.14 was the last supported release for vSphere. VIX is no longer supported with in 6.5 and VMware Tools 10.1.0 and later. https://stackoverflow.com/questions/54868060/vmware-esxi-6-7-guest-os-password VixError err; char *vmxPath; VixHandle hostHandle = VIX_INVALID_HANDLE; VixHandle jobHandle = VIX_INVALID_HANDLE; VixHandle vmHandle = VIX_INVALID_HANDLE; jobHandle = VixHost_Connect(VIX_API_VERSION, //VIX_SERVICEPROVIDER_DEFAULT, VIX_SERVICEPROVIDER_VMWARE_VI_SERVER, "THE_VC_IP_ADDRESS", // *hostName, 0, // hostPort, "root", // *userName, "THE_VC_PASSWORD", // *password, 0, // options, VIX_INVALID_HANDLE, // propertyListHandle, NULL, // *callbackProc, NULL); // *clientData); err = VixJob_Wait(jobHandle, VIX_PROPERTY_JOB_RESULT_HANDLE, &hostHandle, VIX_PROPERTY_NONE); am i missing something ?