Page 1 of 1

Re: FastMM has detected an attempt to use an interface of a freed object

Posted: Mon Jul 31, 2017 4:36 pm
by salvadordf
Thanks Dima!

I'll take a look as soon as I can.

Re: FastMM has detected an attempt to use an interface of a freed object

Posted: Tue Aug 01, 2017 6:33 am
by salvadordf
Hi,

I just took a quick look at your code. I haven't tested it but I can see that you use TChromium in OSR mode.

If you want to have several tabs with browsers in OSR mode in the same application you need to enable a timer with a 1 or 2 seconds delay in the OnBeforeClose event before destroying the tab.

If you use TChromium in normal mode you don't need that timer, that's why the MDIBrowser and ToolBoxBrowser use the normal TChromium mode.

I would suggest you to use the MDIBrowser or ToolBoxBrowser demos as a base to create your application.