[vbox-dev] Monitoring VirtualBox events using SDK (C++ binding)

Pritesh Kothari pritesh at sun.com
Wed Apr 29 14:39:54 GMT 2009


Hi Eric,

On Wednesday 29 April 2009 15:38:59 Eric Ros wrote:
> I'm trying to monitor VBox events using the C++ binding of the SDK. I'm
> specially interested on Machine states (running, paused, etc). Despite my
> callback class is receiving events correctly, the state id I get is always
> the same for all the VM states. It makes no sense. Is this a known bug? Can
> anybody shed light on this?

You can check the example at the following in the vbox source:

http://www.virtualbox.org/browser/trunk/src/VBox/Main/cbinding/tstXPCOMCCall.c

it is in C, but you will get an idea if you are missing something, and yes it 
does show all the VM states.

Regards,
Pritesh




More information about the vbox-dev mailing list