I'm using Delphi XE7 Update 1 in Win 7 64bit and when closing my application I'm getting an APPCRASH in my application.
When I create the form in code and then open it and perform a "WebBrowser.LoadFile(FilePath);" everything works as expected but closing the application generates the APPCRASH. The variable FilePath points to an instance of TinyMCE.
If I don't open the form containing the WebBrowser, no crash is generated. I have also installed FireFox and set it as the default browser. So it has happened with both IE 11 and FireFox 34.0.5. Has anyone else experienced this issue and how did you resolve it.
Did you create a Win32 or Win64 platform target application? If you open the application with an empty browser, are you able to close the second form if no URL is loaded? Additionally, can you destroy the browser in a button click separately before closing the form for testing purposes?
1) Opening the second form with an empty browser still results in the APPCRASH.
2) Performing WebBrowser.Free in a button click before closing the form makes everything work as expected - for either the empty browser or the browser with a file loaded.
3) Performing WebBrowser.Free in either the form FormClose or FormCloseQuery results in the APPCRASH.
Are you able to reproduce this appcrash by navigating to an URL? We are using the CEF1 implementation for technical reasons. It might be possible that this issue is fixed in a newer version of CEF, such as CEF3.
Please try to isolate this issue in a new project so we can investigate this here. We have opened the Editor.html file with tinymce in a separate window but could not reproduce this application crash.
Feel free to consider this issue closed for me. I've been working with the new FMXRichEditor and it does exactly what I was trying to accomplish with TinyMCE.