<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;">Hi Eric,<br /><br>
<br /><br>
The example was updated recently for the changes in the trunk, can you please tell which version of SDk you are using?<br /><br>
<br /><br>
On Tuesday 05 May 2009 20:10:52 Eric Ros wrote:<br />> Hi,<br />><br />> I'm trying to monitor VBox events using the recently added C binding of the<br />> SDK. I'm following an example (tstXPCOMCCall.c) I found in the VBox OSE<br />> repository, but it does not work. I get the error: "expected declaration<br />> specifiers or ‘...’ before ‘nsIEventQueue’". In the file "VBoxXPCOMCGlue.h"<br />> there is a reference to the header "VBoxCAPI_v2_5.h" (where nsIEventQueue<br /><br>
<br /><br>
VBoxCAPI_v2_5.h is automatically generated when you compile the OSE version in the following directory:<br /><br>
<br /><br>
out/linux.<arch>/<debug/release>/bin/sdk/bindings/xpcom/include/<br /><br>
<br /><br>
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++.<br /><br>
<br /><br>
if you are still stuck do post your code so that i can help you out.<br /><br>
<br /><br>
Regards,<br />Pritesh<br /><br>
<br /><br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p><br /><br>
> may be defined) but I did not found it anywhere, I have the 2_2 instead.<br />> Can anybody help me?<br />><br />> thanks in advance,<br />><br />> Eric Ros<br /><br>
<br /><br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p><br /></p></body></html>