What does it mean if a call to PostThreadMessage returns failure, and GetLastError contains 1813. This error code (confirmed by FormatMessage) corresponds to "The specified resource type cannot be found in the image file." I read the error message as saying that a resource has not been compiled into my dll, but I can't see the connection between that and posting a message to a thread. Am I misunderstanding the error message? Thanks, Ian