I'm using the THttpSrv in a thread, and want to catch the windows message to the server. How is this possible?
My messagepump int the execute of the thread is like this: while(!Terminated && GetMessage(&msg, 0, 0, 0)) { switch(msg.message) { case WM_CUSTOM_SET_SERVER_SETTINGS: SetServerSettings((ServerSettings*)msg.wParam); break; default: TranslateMessage(&msg); DispatchMessage(&msg); break; } } How can I catch FD_ACCEPT and other messages and get the receiving control for this message? I Use ICS V6 and don't understand how the TIcsWndHandler works. Does anyone have examples for this? Regards Bjørnar No virus found in this outgoing message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.21.7/1332 - Release Date: 17.03.2008 10:48 -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be