<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Joseph,<br>
<br>
I think you just hit an issue (aka bug) in VirtualBox - certain
events not triggered when they should or could be triggered.<br>
The only solution is to implement those. <br>
<br>
Klaus, what do you think about when shall events firing happen, do
you have bit of time to look on that?<br>
<br>
Thanks,<br>
Nikolay<br>
<br>
<br>
<br>
24.03.2011 17:45, Joseph Smith пишет:
<blockquote cite="mid:986581.54720.qm@web63401.mail.re1.yahoo.com"
type="cite">
<style type="text/css"><!-- DIV {margin:0px;} --></style>
<div style="font-family: 'times new roman','new york',times,serif;
font-size: 12pt;">
<div><br>
</div>
<div style="font-family: times new roman,new york,times,serif;
font-size: 12pt;">Hi,</div>
<div style="font-family: times new roman,new york,times,serif;
font-size: 12pt;"><br>
</div>
<div style="font-family: times new roman,new york,times,serif;
font-size: 12pt;">Was wondering if anyone has had an
opportunity to give this some thought and maybe have some
suggestions or ideas to offer.</div>
<div style="font-family: times new roman,new york,times,serif;
font-size: 12pt;"><br>
</div>
<div style="font-family: times new roman,new york,times,serif;
font-size: 12pt;"><br>
</div>
<div style="font-family: times new roman,new york,times,serif;
font-size: 12pt;">Thanks,</div>
<div style="font-family: times new roman,new york,times,serif;
font-size: 12pt;">Joe</div>
<div style="font-family: times new roman,new york,times,serif;
font-size: 12pt;"><br>
<div style="font-family: times new roman,new york,times,serif;
font-size: 12pt;"><font face="Tahoma" size="2">
<hr size="1"><b><span style="font-weight: bold;">From:</span></b>
Joseph Smith <a class="moz-txt-link-rfc2396E" href="mailto:joseph1962smith@yahoo.com"><joseph1962smith@yahoo.com></a><br>
<b><span style="font-weight: bold;">To:</span></b>
<a class="moz-txt-link-abbreviated" href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a><br>
<b><span style="font-weight: bold;">Sent:</span></b> Sat,
March 19, 2011 11:11:12 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b>
[vbox-dev] IEvent not triggering on some events ... ?<br>
</font><br>
<div style="font-family: times new roman,new
york,times,serif; font-size: 12pt;">
<div><br>
VBox Ver: 4.0.0 and 4.0.4<br>
Hosts: Win XP, openSuSE 11.2, Mac OS 10.6<br>
Guests: various<br>
<br>
I am using the VirtualBox webservice PHP APIs (via
vboxServiceWrappers.php). With the release of 4.0.x, I
shifted my solution approach from a heavy polling
approach to the light-weight IEvent approach.<br>
<br>
It appears there are some key events that are not being
triggered. For example, I do not receive the
IMediumChanged and IMediumRegistered events among some
lesser important events that I don't quite need just yet
(e.g: IRuntimeErrorEvent).<br>
<br>
I do consistently receive the OnMachineRegistered,
OnMachineDataChanged, OnMachineStateChanged,
OnGuestPropertyChanged, OnEventSourceChanged,
OnSessionStateChagned events and a few others.<br>
<br>
When I register the listner
(EventSource::RegisterListener), I listen for 'Any'
events as described in the documentation and after
handling each event, I call
EventSource::EventProcessed.<br>
<br>
Does ver 4.0.x fire IMedium events ? Any suggestions of
what I might be able to look for to determine what I
might be doing incorrectly?<br>
<br>
Oh ... my application runs for weeks at a time without
being restarted and polls about every 3 seconds for
events. There are never any events that are not
processed. Of the events I listed above, I continue to
receive those events when actions trigger them ... just
not getting many of the others listed in the enumerated
VBoxEvent Type.<br>
<br>
Any suggestions are welcome.<br>
<br>
<br>
Thanks,<br>
Joe<br>
</div>
</div>
<br>
</div>
</div>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
vbox-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a>
<a class="moz-txt-link-freetext" href="http://vbox.innotek.de/mailman/listinfo/vbox-dev">http://vbox.innotek.de/mailman/listinfo/vbox-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>