I'm developing a C# application and made a (.chm) help file to link it with, and I use the following statement to open help file:
Help.ShowHelp(this,HelpFileLocation);
And the help file opens correctly, but when I close the help file window, the application terminates and the debugging stops, and when looking at the output window I see this:
app.exe has exited with code -1073741819 (0xc0000005) 'Access violation'
I tried to call the method from more than one form and I'm getting the same problem.
EDIT: this is a GIF describes the problem: https://archive.org/download/chm_20200125/chm.gif