Hello Jack, > Do you mean I should check the ErrCode in the event handlers
No check for exceptions. BGException is fired if exception comes from the middle of nowere, that is the message pump. But many events are called from within the message pump. This means if you have an exception in your code in one of the event handlers BGExeption could fire. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html 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