Hi,
Is anyone else experiencing troubles on Windows with VIX version 1.12.2-1031769 after VixHost_Connect when trying to get VIX_PROPERTY_JOB_RESULT_HANDLE?
I mean both:
Vix_GetProperties(jobHandle,
VIX_PROPERTY_JOB_RESULT_HANDLE,
&hostHandle,
VIX_PROPERTY_NONE);
and
VixJob_Wait(jobHandle,
VIX_PROPERTY_JOB_RESULT_HANDLE,
&hostHandle,
VIX_PROPERTY_NONE);
are always returning 0 for hostHandle.
It works fine with earier VIX APIs (1.11.x) and it works fine on Linux (even with 1.12.2)
Thanks and BR
Error 182 is
ERROR_INVALID_ORDINAL
The operating system cannot run %1.
Does vmrun work?
Does your app link any of the libs VIX uses, with a different version?
I've usually seen INVALID_ORDINAL when trying to use a library that's missing some symbols because its too old.
What error is being returned? The hostHandle will only be zero in an error case.
And what product/version are you connecting to?
Hi lemke,
Well VixError that Vix_GetProperties or VixJob_Wait are returning is VIX_OK. This is what bothers me. Handle is zero and returns are signalling that everything was OK.
What is extremely strange is that the same code works well on 1.11 APIs. I am experiencing this only with 1.12.2...
I tried to connect to vCenter 4.1.0 and 5.1.0 (no UXs)...
I can provide you with more information or connect to other products aswell...
Thank you,
iks
Hi,
In 1.12.2 I am getting "failed to load library", see vmware-vixWrapper-xxx.log:
vthread-3| I120: Log for VixWrapper pid=4408 version=1 build=build-894247 option=Release
...
...
vthread-3| I120: Loading Vix implementation library C:\Program Files (x86)\VMware\VMware VIX\Workstation-9.0.0-and-vSphere-5.1.0\32bit\vix.dll
vthread-3| I120: failed to load library C:\Program Files (x86)\VMware\VMware VIX\Workstation-9.0.0-and-vSphere-5.1.0\32bit\vix.dll (182)
vthread-3| I120: No Vix library found for provider 10 revision -1, err 0
Thanks and BR
Error 182 is
ERROR_INVALID_ORDINAL
The operating system cannot run %1.
Does vmrun work?
Does your app link any of the libs VIX uses, with a different version?
I've usually seen INVALID_ORDINAL when trying to use a library that's missing some symbols because its too old.
Hi,
I made a clean project and it works perfectly... Even tried vmrun and it woks. There must be some dll exported functions mismatch between different dll versions because I am seeing this invalid ordinal 182... And yes, app loads a lot of stuff that vix might be using, so I will investigate in this direction... ![]()
Thanks.
SSL dlls... Smooth like I never had problems with them... ![]()
