>From a thread within the server object I've tried to post a message 
>to the service handle/threadID
> procedure TRPPollSvc.WMError(var message: TMessage); //message 
> WM_ERROR;
>PostThreadMessage(MainHandle, WM_ERROR, 0, 0);

It should be: 

PostMessage (RPPollSvc.Handle, WM_ERROR, 0, 0);

which is the context in which the application is running and in which 
you are listening for the message.  

But looking at my own code, I don't seem to sending any private messages 
in my one historic service, all my recent (five years) service 
applications have been dual purpose service/interactive.  

Angus
-- 
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

Reply via email to