MSCOM sdk

Discussions related to using VirtualBox on Windows hosts.
Post Reply
carlsa
Posts: 1
Joined: 5. May 2009, 16:22
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP
Location: Leeds

MSCOM sdk

Post 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
Post Reply