Hi Magnus, ah, glad it worked for you now. Thanks for the pointer, I'll update the documentation accordingly.
Cheers, Andreas On 16.10.2013 11:08, Magnus Madsen wrote: > Hi Andreas, > I am using the API directly - and quickly testing, it looks like it is > working if I try to use VBoxManage. > > I just went through the source for VBoxManage and I found the problem :) > > It looks like you are required to use IGuestProcess.WaitFor to wait > until the session has been started - but only if the Guest Additions in > the VM using the new API version 2 (for VirtualBox 4.3) > > This might be a good idea to have documented in the SDKRef document, as > the description for IGuest.createSession doesn't mention this and it > seems a bit strange that it is only needed when the Guest Additions are > the newer version. > > (There is no need for separate logic for the older versions of the > additions - the WaitFor command successfully works in this case as well) > > Many thanks! > > Magnus > > > On Wed, Oct 16, 2013 at 10:41 AM, Andreas Löffler > <[email protected] <mailto:[email protected]>> wrote: > > Hi, > > are you using the API itself or some frontend / client which ships > with VBox? If using the API, please have a look at the SDK reference; > it contains the things which might need adjustment when using your own > client code with former versions of VBox. > > BTW, did executing with VBoxManage work for you so using the 4.3 > Additions? Did the VM log tell something additional if not? > > Andreas > > > > On 16.10.2013 10:11, Magnus Madsen wrote: > > Hi! > Great thanks for the new 4.3 version being released. > > There looks to be a problem with guestcontrol though. > VMs using an older version of the Guest Additions work like > normally in > my application, but if I upgrade the additions to 4.3, the > GuestSession > is always in the GuestSessionStatus_Error state and I am unable to > execute anything towards the Guest Additions. > > Is there a change in how the API should be used with the new > version of > Guest Additions, or is this an error? > > > _________________________________________________ > vbox-dev mailing list > [email protected] <mailto:[email protected]> > https://www.virtualbox.org/__mailman/listinfo/vbox-dev > <https://www.virtualbox.org/mailman/listinfo/vbox-dev> > > > -- > Kind regards / Mit freundlichen Grüßen > > ******************************__******************************__****** > Andreas Löffler | VirtualBox Engineering > Senior Software Engineer | Oracle Virtualization > > ORACLE Deutschland B.V. & Co. KG > Werkstrasse 24 > D-71384 Weinstadt, Germany > > Hauptverwaltung: Riesstr. 25, D-80992 München > Registergericht: Amtsgericht München, HRA 95603 > Geschäftsführer: Jürgen Kunz > > Komplementärin: ORACLE Deutschland Verwaltung B.V. > Hertogswetering 163/167, 3543 AS Utrecht, Niederlande > Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 > Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher > > Green Oracle <http://www.oracle.com/__commitment > <http://www.oracle.com/commitment>> > Oracle is committed to developing practices and products that > help protect the environment > > -- Kind regards / Mit freundlichen Grüßen ****************************************************************** Andreas Löffler | VirtualBox Engineering Senior Software Engineer | Oracle Virtualization ORACLE Deutschland B.V. & Co. KG Werkstrasse 24 D-71384 Weinstadt, Germany Hauptverwaltung: Riesstr. 25, D-80992 München Registergericht: Amtsgericht München, HRA 95603 Geschäftsführer: Jürgen Kunz Komplementärin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher Green Oracle <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment _______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
