I have VMWare Workstation 6.5.1 and by apparent mistake, VIX API 1.6.2
I want to use vix-perl and downloaded the API, extracted the zip, built the Perl module and hacked a manifest assembly to get the Perl module to load per the README.
Running on the same machine as the running VMWare Workstation, I'm getting:
Failed to get property type for 3010 on handle 16799219.
HostConnect() failed, 22003 The specified service provider was not found
Then I see the message: "VMware Workstation users should continue to use the version of VIX provided with Workstation." However, I can not figure out how to download version 1.6.1 (I don't see any vix-perl for my VMWare Workstation installation).
Thanks,
Sean
-
Example code I'm using:
-
use VMware::Vix::Simple;
use VMware::Vix::API::Constants;
my $err = VIX_OK;
my $hostHandle = VIX_INVALID_HANDLE;
my $vmHandle = VIX_INVALID_HANDLE;
($err, $hostHandle) = HostConnect(VIX_API_VERSION,
VIX_SERVICEPROVIDER_VMWARE_WORKSTATION,
undef, # hostName
0, # hostPort
undef, # userName
undef, # password
0, # options
VIX_INVALID_HANDLE); # propertyListHandle
die "HostConnect() failed, $err ", GetErrorText($err), "\n" if $err != VIX_OK;