<div dir="ltr">Ahh ok. I am a bit rusty, but are you doing a LockMachine call with the LockType_VM before LaunchVMProcess? I think that after locking you should be able to get the console, at least that is what my code does. Then you can get the display, inject the framebuffer and then do LaunchVMProcess, but I am not 100% sure that will work, since I have not done any VBox development for some time.</div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-06 9:59 GMT+02:00 <a href="mailto:lijing1@quakegame.cn">lijing1@quakegame.cn</a> <span dir="ltr"><<a href="mailto:lijing1@quakegame.cn" target="_blank">lijing1@quakegame.cn</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>





<div style="MARGIN:10px">
<div> </div>
<div><span style="FONT-SIZE:9pt"><span style="FONT-SIZE:10.5pt">Oh I'm 
afraid there is some misunderstanding here, what I mentioned before is 
after <span style="FONT-SIZE:12px;TEXT-INDENT:25px"><span style="FONT-SIZE:9pt"><span style="FONT-SIZE:10.5pt">LaunchVMProcess, the 
origin ui of vm is already showing,can I new my own IFramebuffer and 
AttachFramebuffer to it?</span></span></span></span></span></div>
<div style="BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;BORDER-BOTTOM:medium none;PADDING-BOTTOM:0cm;PADDING-TOP:3pt;PADDING-LEFT:0cm;BORDER-LEFT:medium none;PADDING-RIGHT:0cm">
<div style="FONT-SIZE:12px;FONT-FAMILY:tahoma;BACKGROUND:#efefef;COLOR:#000000;PADDING-BOTTOM:8px;PADDING-TOP:8px;PADDING-LEFT:8px;PADDING-RIGHT:8px">
<div><b>From:</b> <a href="mailto:rudolfs.bundulis@gmail.com" target="_blank">Rūdolfs 
Bundulis</a></div>
<div><b>Date:</b> 2017-01-06 15:52</div>
<div><b>To:</b> <a href="mailto:lijing1@quakegame.cn" target="_blank">lijing1@quakegame.cn</a></div>
<div><b>CC:</b> <a href="mailto:vbox-dev@virtualbox.org" target="_blank">vbox-dev</a></div>
<div><b>Subject:</b> Re: Re: [vbox-dev] How can I get IDisplay before vm 
started?</div></div></div><span class="">
<div>
<div class="m_7726876596083549352FoxDiv20170106155339291254" style="BACKGROUND-COLOR:white">
<div dir="ltr">
<div class="gmail_extra"><span style="FONT-SIZE:12px">> </span><span style="FONT-SIZE:12px">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.</span></div>
<div class="gmail_extra"><span style="FONT-SIZE:12px"><br></span></div>
<div class="gmail_extra"><span style="FONT-SIZE:12px">No I didn't say that. What 
I was trying to say is that you can't host the vm in your own process. I don't 
know what Genymotion is but why do you assume they are not 
using </span><span style="FONT-SIZE:12px;TEXT-INDENT:25px">LaunchVMProcess? Why can't you 
use </span><span style="FONT-SIZE:12px;TEXT-INDENT:25px">LaunchVMProcess? Are there any 
limitations that forbid this?</span></div>
<div class="gmail_extra"><span style="FONT-SIZE:12px"><br></span></div></div></div></div></span></div>
</blockquote></div><br></div>