error LNK2019: Undefined symbol _VixHost_OpenVM

error LNK2019: Undefined symbol _VixHost_OpenVM

Hi all,

My C++ program was using VIX API 1.7 to access remote machine(ESX 4.0) from Windows PC.

Recently I found VIX API 1.8.1 has been released and it is suppoting new function VixHost_OpenVM API instead of VixVM_Open API.

So, I replaced VixVM_Open() to VixHost_OpenVM() and I compiled my program under VIX API 1.8.1 but the following link error occurred.

error LNK2019: Undefined symbol VixHostOpenVM.

For compile, I'm including Vix.lib of "C:\Program Files\VMware\VMware VIX\VSphere-4.0\32bit" folder.

Could anyone advise me?


Tags (1)

I have checked the documentation for Vix 1.8.1

Following remark is mentioned in the Release notes.

  • VIX 1.8.1 is the standalone VIX API release that incorporates compatibility libraries for Workstation 7.0 and Player 3.0. It also includes earlier VIX libraries delivered for Workstation 6.x and vSphere 4, without changes to those libraries.

As specified above, no changes have been done to workstation 6.x and vSphere 4 libraries. This is just a standalone release for Workstation 7.0 and player 3.0.

Also, a remark is mentioned that a new api i.e. VixHost_OpenVM has been added. So, in vix 1.8.1, this api is available through Workstation-7.0.0/32bit/vix.lib file.

From your post, I see that you are linking your program with VSphere-4.0/32bit/vix.lib. It doesn't contain the bits for VixHost_OpenVM() api. If you are developing an application for VSphere, i suggest you download the latest VIX 1.10 beta.



Snkar, thank you for your suggestion.

I could successfully link my program with Workstation-7.0/32bit/bix.lib. I will also try VIX the latest VIX 1.10 bata.


Version history
Revision #:
1 of 1
Last update:
‎02-18-2010 08:47 PM
Updated by: