[vbox-dev] How can I get IDisplay before vm started?

Rūdolfs Bundulis rudolfs.bundulis at gmail.com
Thu Jan 5 16:28:29 UTC 2017


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

2017-01-05 17:30 GMT+02:00 lijing1 at quakegame.cn <lijing1 at 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: lijing1 at quakegame.cn
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20170105/37b2963a/attachment.html>

More information about the vbox-dev mailing list