- May
- 13,143
- 180
In a plugin, I set a console ctrl handler. On receiving a signal greater than CTRL_BREAK_ENENT (for example CTRL_CLOSE_EVENT) it saves a buffer to a file with Qprintf() and returns FALSE.
When it's running in 4NTv8, and I "X" the console, it works fine. With TCCv9, it causes "TCC has encountered a problem". I don't get it. My handler should be first in the chain and no one else should be aware of the CTRL_CLOSE_EVENT until it returns FALSE. Rex, do you know what's going on.
When it's running in 4NTv8, and I "X" the console, it works fine. With TCCv9, it causes "TCC has encountered a problem". I don't get it. My handler should be first in the chain and no one else should be aware of the CTRL_CLOSE_EVENT until it returns FALSE. Rex, do you know what's going on.