Murder by the Book (1987)
A mild mannered mystery writer has become so immersed in his material that his character constantly appears to him as a hallucination Intent on getting rid of him, the writer finds himself embroiled in a mystery all his own