[vbox-dev] MSCOM - ISession CoCreateInstance

Samuel Rats samuel.rats at gmail.com
Thu Jun 21 14:28:56 GMT 2012


Hi guys,

I'm currently working on a custom device manager, and I got a little
probleme : I'm unable to retreive session object from MSCOM

This work :
CoCreateInstance(CLSID_VirtualBox, 0, CLSCTX_LOCAL_SERVER, IID_IVirtualBox,
(void**)&this->vbox);


This does'nt (error 80040154):
CoCreateInstance(CLSID_Session, 0, CLSCTX_LOCAL_SERVER, IID_ISession,
(void**)&this->session)

Any advice ?


--
Samuel Rats
Co-Fondateur du LYAUG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20120621/d3d65174/attachment.html>


More information about the vbox-dev mailing list