Page 1 of 1

MSCOM sdk

Posted: 5. May 2009, 17:25
by carlsa
Hello,

I'm trying to use the MS COM sdk. I have got the sample shipped with the sdk working (tstVBoxAPIWin), in that i can read the VMs configuration.

I'd now like to change the configuration for these Machines. From the Doc, it says i need to use IVirtualBox::OpenSession(session, id) to get the ISession::machine and use this to change the settings.

But when i call IVirtualBox::OpenSession(), i get a "Privileged instruction" error.

Any ideas on what I'm doing wrong.

Cheers,

Carl