x64 Build

Aug 4, 2011 at 1:46 PM

Hi, If I create a project using vmwaretask but build it as x64 it fails to load vix with error:

Retrieving the COM class factory for component with CLSID {6874E949-7186-4308-A1B9-D55A91F60728} failed due to the following error...

If I build the project as x86 it works.

I need the project to be x64 because other libs/dependencies. Is there any fix for this?

Coordinator
Aug 4, 2011 at 9:52 PM

This is because Vix.dll that comes from VMWare is a native 32-bit DLL and can't be loaded into a 64-bit process. So you can't build an app targeting exclusively a 64-bit platform with it. Your only option is to switch it to x86.  

Developer
Oct 13, 2011 at 12:47 AM

VIX libraries are now available for 64-bit Windows with VIX API 1.11.0.18997, released Sept. 14, 2011.

http://www.vmware.com/support/developer/vix-api/VIX-1.11-ReleaseNotes.html

Developer
Oct 13, 2011 at 6:56 PM

I created a feature request here:

http://vmwaretasks.codeplex.com/workitem/9639

Jan 15, 2012 at 10:56 PM

Do we have to wait for a new vmwaretasks version to support it? or last stable version support vix 1.11.0.18997?

Coordinator
Jan 17, 2012 at 12:29 PM

I never tried. Try it. Upgrading the source would be pretty trivial - I'd gladly take a patch.