<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Am 13.03.2011 um 23:37 schrieb Martin Eliasson:</div><br class="Apple-interchange-newline"><blockquote type="cite">Why do you assume it has something to do with multithreading? <br></blockquote><div><br></div>Because the same code works in a non-multithreaded DLL.</div><div><br><blockquote type="cite">How do you set up the connection? Can you paste some code pls. <br></blockquote><div><br></div>This won't help, as Rebol has a callback interface where I need to setup some special data-structures and than call a specific function to trigger the callback.</div><div><br><blockquote type="cite">A wild guess from me is that you use vortex_connection_new() with a callback <em>on_connected. If you read the return value at the bottom of the documentation <br>
<a href="http://www.aspl.es/fact/files/af-arch/vortex/html/group__vortex__connection_g29c7756cc9b4d30de3bd327f90c43f30.html">http://www.aspl.es/fact/files/af-arch/vortex/html/group__vortex__connection_g29c7756cc9b4d30de3bd327f90c43f30.html</a></em> you will see that the function will return NULL and I'm guessing you use this value. <br></blockquote><div><br></div>No, I'm trying to return a static string to keep things simpel. The vortex interface seen from Rebol is much more high-level. Meaning, there are only messages exchanged, no vortex internal things.</div><div><br></div><div>I think I will try to see how many threads are running and creating a different implementation using the PULL api to avoid threads at all.</div><div><br></div><div>Robert</div><br></body></html>