In PostThreadMessage
my thread ID is correct, but I am getting the error 1444 ("Invalid thread identifier. ").
Anyone know how to fix it?
In PostThreadMessage
my thread ID is correct, but I am getting the error 1444 ("Invalid thread identifier. ").
Anyone know how to fix it?
The OS is the authority on whether thread IDs are valid, so if it's telling you your ID is invalid, then your ID is probably invalid. You have to trust the error codes until you can prove they're wrong, or else there's no use checking them at all. Before blaming the OS, make sure you've ruled out all other possibilities. Here are some examples: