Hi, since hardening was introduced in 4.x you can't host the VM in a 3rd-party process so LaunchVMProcess is your only option. However this applies only to Windows. As a less feasible alternative you can use old build without hardening or compile VirtualBox yourself from sources with the hardening disabled.
2017-01-05 17:30 GMT+02:00 liji...@quakegame.cn <liji...@quakegame.cn>: > Hi > I am using COM interface to build a custom front end, when I look > into VirtualBox-5.1.12\src\VBox\Frontends\VBoxFB.cpp , I found it use > IVirtualBox opensession and get GetConsole & GetDisplay before PowerUp the > vm, but in my code, I have to LaunchVMProcess then get_Console & > get_Display , otherwise it return null pointer. How can I get IDisplay and > set my own framebuffer like VBoxFB code do?Please give me some advice or > demo code.Thanks a lot! > > ------------------------------ > 李靖 > 技术保障部 - 客户端开发 > Tel: +86-10-68608366 <+86%2010%206860%208366> Fax: +86-10-68608355 > <+86%2010%206860%208355> > Mob: 13810310693 Email: liji...@quakegame.cn > > _______________________________________________ > vbox-dev mailing list > vbox-dev@virtualbox.org > https://www.virtualbox.org/mailman/listinfo/vbox-dev > >
_______________________________________________ vbox-dev mailing list vbox-dev@virtualbox.org https://www.virtualbox.org/mailman/listinfo/vbox-dev