Hello Bjørnar, > Is the code really running in thread-context?
Good point. He has to check (but I alrady think I mentioned this) that MultiThreaded is set to True. Try GetCurrentThreadId to check current thread context. --- Rgds, Wilfried http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be