[vbox-dev] C binding and event queue
Pritesh.Kothari at Sun.COM
Wed May 6 00:37:04 PDT 2009
The example was updated recently for the changes in the trunk, can you please
tell which version of SDk you are using?
On Tuesday 05 May 2009 20:10:52 Eric Ros wrote:
> I'm trying to monitor VBox events using the recently added C binding of the
> SDK. I'm following an example (tstXPCOMCCall.c) I found in the VBox OSE
> repository, but it does not work. I get the error: "expected declaration
> specifiers or ‘...’ before ‘nsIEventQueue’". In the file "VBoxXPCOMCGlue.h"
> there is a reference to the header "VBoxCAPI_v2_5.h" (where nsIEventQueue
VBoxCAPI_v2_5.h is automatically generated when you compile the OSE version in
the following directory:
I would recommend you use the XPCOM C++ binding as using EventQueues and XPCOM
in C is not so pretty unless you have knowledge of how vtables work in C and
preety good reason not to use C++.
if you are still stuck do post your code so that i can help you out.
> may be defined) but I did not found it anywhere, I have the 2_2 instead.
> Can anybody help me?
> thanks in advance,
> Eric Ros
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vbox-dev