DDEUtils: throwback server dying
Fred Graute (114) 645 posts |
DDEUtils uses a service handler for Service_WimpCloseDown to check for dying tasks so that it can remove the directory prefix if the task has set one. What it doesn’t do, is check if the dying task is the current throwback server and remove its task handle if so. What this means is that when the throwback server exits/crashes without deregistering, no other task can be registered as throwback handler because DDEUtils still thinks that there is a throwback server. The only way, at present, to remedy this is to do: *RMReInit DDEUtils, or locate the task handle in DDEUtils workspace and nullify it by hand. Could DDEUtils be changed such that it notices when the throwback server task exits? A quick look at the source suggests that this should be easy to add. |