ID:2550493
 
(See the best response by Major Falcon.)
Dunno where to put it so I'll ask here, is there any way to signal to DD on Windows to terminate gracefully. As far as I know, the options for terminating a remote process on windows are:

Sending WM_CLOSE(clicking the X in the title bar) on the process main window, which is what taskkill.exe without the /F flag does, but DD doesn't terminate when that the button is clicked so that won't work

Killing the process with TerminateProcess, now while that works to kill dd, it doesn't run per-termination hooks(world/Del())

On Linux the issue is solved by sending SIGTERM for graceful termination and SIGKILL for forced termination but the windows DD doesn't seem to have any functionality to terminate DD gracefully remotely without having additional code in the game (like listening for topic messages) unless you considering faking clicks on the stop button which is hacky at best.

So am I missing something or is there simply no way?
Best response
thats the same as point 1, it send a close message to the main window which dd ignores
Ah I see now. I wonder what the hang up is.
Does SIGTERM work for your game on Linux?
Does your world/Topic() approach work?

Something tells me there is no interprocess communication like dbus or COM support on DreamDaemon.