Deconstructing Harry (1997)
Deconstructing Harry is a comedy film written and directed by Woody Allen and released in 1997. This film tells the story of a successful writer named Harry Block, played by Allen, who draws inspiration from people he knows in real life, and from events that happened to him, sometimes causing these people to become alienated from him as a result.
More at Wikipedia.