VIX C# library on 64bit platforms

Nov 25, 2010 at 1:36 PM

I'm using this vix C# to automate action on local VA using VMWare Player 3.0 and vix 1.8.

When running on host with 64bit I encounterd a problem when all vmware handling is made in a different class then the main class. 
When calling WaitFromVMwareTool I get a popup message indicates about unrecoverble error (Asserting).

If you could help it will be greatly appreciated.

Nov 27, 2010 at 11:57 AM

VMWare objects need to be created and disposed in order and, I believe, on the same thread. None of them are thread-safe either, so you need to take care of that. That's all VixCOM limitations. VMWareTasks helps you - check every object, all IDisposable objects in VMWareTasks need to be using the using { } pattern and therefore be disposed in order.