Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Viewing all articles
Browse latest Browse all 34639

Problem connecting to Host (VixHost_Connect)

$
0
0

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


Viewing all articles
Browse latest Browse all 34639

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>