Page 1 of 1

Application not responding

Posted: Mon May 08, 2017 10:31 pm
by Djota
Hi again...


How do you kill a chromium process at runtime?
I'm running the chromium and depending on what come in html in LoadEnd, I end the application but sometimes hangs ...
https://drive.google.com/open?id=0B_88E ... HV4eFljZ1E

To close the application at runtime I do:
Chromium1.CloseBrowser(True);
Close;


I already tried to Application.Terminate or ExitProcess(Self.Handle), ometimes close correct sometimes the application hangs.

OS: Sorry for my English :oops:

Thanks.

Re: Application not responding

Posted: Tue May 09, 2017 7:02 am
by salvadordf
Hi,

All CEF3 based applications must follow some steps if they close a browser before the app is destroyed.

Read the comments in the *.pas and *.dpr files inside the MDIBrowser demo.

Re: Application not responding

Posted: Wed May 10, 2017 1:26 pm
by Djota
Save my life...


There's only one more problem, Do have support for windows XP?


On clients that are using the tool in XP the error appears:
The procedure entry point GetFileInformationByHandleEx could not be located in the dynamic link library KERNEL32.dll

Re: Application not responding

Posted: Wed May 10, 2017 1:44 pm
by salvadordf
Sorry but the last version of the CEF3 binaries that was compatible with Windows XP was the branch 2623.

If you need Windows XP compatibility then you have to use the 2623 branch of DCEF3.

Re: Application not responding

Posted: Sat May 20, 2017 12:09 pm
by Hitman
How about if not using MDI form?

I am using a plain form where i have the browser and can't simply close it :o :o

I have to kill it by using CTRL+ALT+DEL to bring up Task Manager for killing it because it won't close with any codes given from form shortcut.