Help with Win32: PostQuitMessage(0) doesn't post WM_QUIT apparently, because the message loop is not exited.
frame
frame86 at live.com
Fri Aug 13 02:54:15 UTC 2021
On Friday, 13 August 2021 at 00:30:59 UTC, Ruby The Roobster
wrote:
> When I run the program and close the window, the program still
> runs in background mode. I don't know why this happens nor how
> to fix it. Does anybody know what's going on?
AFAIK GetMessage() may return -1 if some error happend, so your
loop won't exit.
More information about the Digitalmars-d-learn
mailing list