Ian Chapman wrote:
Hi,
Is it safe to use IMachine::getMediumAttachmentsOfController on an
IMachine object returned from ISession::machine?
The reason I ask, is because if I call IMachine::mountMedium, using the
IMachine object returned from IVirtualBox::machines[] it does what I
expect, however any time I subsequently call
IMachine::getMediumAttachmentsOfController on a mutable version of the
IMachine object (as obtained from ISession::machine), I get the
following error:
-- entering __vbox__IMachine_USCOREgetMediumAttachmentsOfController
[ 1] findRefFromId(): looking up objref
5077a97f76fece5a-000000000000002a
[ 1] findRefFromId(): sessid 5077A97F76FECE5A, objid 2A
[M ] Pumping COM event queue
[ 1] calling COM method GetMediumAttachmentsOfController
[M ] Pumping COM event queue
[ 1] error, raising SOAP exception
API return code: 0x80004004 (NS_ERROR_ABORT)
COM error info result code: 0x0
COM error info text:
NS_ERROR_ABORT usually means that VBoxSVC crashed. If that's the case
it'd be great if you could provide a core dump or some such.
Klaus
_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev