[vbox-dev] How to get the current running IMachine instance inside a host service?

Huihong Luo huisinro at yahoo.com
Tue May 12 15:08:17 GMT 2009


Michael,
 
Sure, that will be nice. Once it's stable, I will let you know. We are trying to add Drag and Drop right now on windows guest/host. 
 
By the way, I read your emails about DnD. I found the most difficult thing is how to initiate a drag source inside guest. We are still experiment, if you have ideas, pls inform. Basically, the gui accepts drops, then send a request to guest. and a guest surrogate will act as the drag source object. This is what gets difficult. How to code a virtual drag source?
 
We are implementing this cool feature, when a shortcut is dragged out to host OS, a new one will be created on host that can launches a vm app.
 
The only thing different is that we are using our own shared folder driver inside guest, but should be pretty similar, and easy to add to the main virtualbox code.
 
- huihong

--- On Tue, 5/12/09, Michael Thayer <Michael.Thayer at Sun.COM> wrote:


From: Michael Thayer <Michael.Thayer at Sun.COM>
Subject: Re: [vbox-dev] How to get the current running IMachine instance inside a host service?
To: "Huihong Luo" <huisinro at yahoo.com>
Cc: vbox-dev at virtualbox.org
Date: Tuesday, May 12, 2009, 5:40 AM


Hello Huihong,

Huihong Luo wrote:
> You are correct. For clipboard and shared file module, we don't need the vm name.
>  
> We are also developing another addition, that will add shortcuts to the host start menu, so vm apps can be launched directly from host. In order to do this, we need the vm name to add to host shortcuts so it can correlate the correct vm. VM could be offline, and the shortcuts are stored on host disk, so when a user click a link, it will launch the vm, then the app inside vm.
>  
> When an app is installed in a vm, our addin will inform the host to create the shortcuts. The shortcut will embed a vm name.
If you are interested, we should be able to co-ordinate adding your code
to VirtualBox.

Regards,

Michael
-- 
Sun Microsystems GmbH        Michael Thayer
Werkstrasse 24               VirtualBox engineer
71384 Weinstadt, Germany     mailto:michael.thayer at sun.com

Sitz der Gesellschaft:
Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Haering
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20090512/57b6c84a/attachment.html>


More information about the vbox-dev mailing list