Thanks for replying. 
Do you mean if I want to change the vm's ui,I have to rewrite  the sources code 
of VirtualBox.exe  or VBoxSDL.exe and compile my version,instead of using api ? 
 But Genymotion can create it's own vm window ,user just need to install  
offical release of VirtualBox. How can I achieve the same effect?Please give me 
a hint.




李靖
技术保障部 - 客户端开发 
Tel: +86-10-68608366Fax: +86-10-68608355
Mob: 13810310693Email: liji...@quakegame.cn




From: Rūdolfs Bundulis
Date: 2017-01-06 00:28
To: liji...@quakegame.cn
CC: vbox-dev
Subject: Re: [vbox-dev] How can I get IDisplay before vm started?
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-68608366Fax: +86-10-68608355
Mob: 13810310693Email: 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

Reply via email to