<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Can you provide a small sample?<div><br></div><div>Achim</div><div><br><div><div>On May 22, 2010, at 09:02 , Robert Ramsay wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>To Nikolay and all VirtualBox developers:<br><br>Thanks for a great 3.2 release! The python API has been updated and<br>fixed my previous error. But now I have a new issue. I can't seem to<br>make concurrent "session's" with python. When two different python<br>scripts try to use openExistingSession in the same thread it works<br>fine. But If I use openExistingSession in two different threads or if<br>I use a session object in a new thread it gives the COM error:<br>(-2147417842, 'The Application called an interface that was marshalled<br>for a different thread.'). And If I try to create a VirtualBoxManager<br>in two different threads I get infinitely recursive COM get_name<br>loops. The documentation says that openExistingSession should allow<br>multiple sessions. I was able to do use threading with indifference to<br>the session objects using the 3.1.6 SDK/API.<br><br>Thanks,<br>Robert<br><br>_______________________________________________<br>vbox-dev mailing list<br><a href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a><br>http://vbox.innotek.de/mailman/listinfo/vbox-dev<br></div></blockquote></div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-size: 12px; "><p align=""><span class="Apple-style-span" style="font-size: medium;"><br></span></p></span></div></div></span></span></div></div></body></html>