Discussion:
[vbox-dev] How to use HostChannel?
DRACULAX
2014-09-25 10:28:43 UTC
Permalink
I read the source code and find virtualbox implement a module call
hostchannel, which is a part of HGCM and used in VRDP implements.

But it seems this module can not be used like the other part of HGCM such as
clipboard and sharefolder and so on.

I wish to write a dll in windows to communicate which my guest system
through self-defined hostchannel.

Is it possible? Why the team not provide the hostchannel interface for
developers?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140925/843c763f/attachment.html
Klaus Espenlaub
2014-10-06 15:57:17 UTC
Permalink
Hi,
Post by DRACULAX
I read the source code and find virtualbox implement a module call
hostchannel, which is a part of HGCM and used in VRDP implements.
But it seems this module can not be used like the other part of HGCM
such as clipboard and sharefolder and so on.
I wish to write a dll in windows to communicate which my guest system
through self-defined hostchannel.
Is it possible? Why the team not provide the hostchannel interface for
developers?
This is doable (in the easiest way by packaging up an extension pack),
and there is some documentation about HGCM in the SDK manual. I think
there have been a few users which wrote their own HGCM services.

There is not much sample code for standalone HGCM, simply because we
don't have any 3rd party services - the people who worked on it didn't
contribute it.

Klaus

Loading...