Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Application not responding

Post Reply
Djota
Posts: 10
Joined: Fri May 05, 2017 12:35 pm

Application not responding

Post 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.
User avatar
salvadordf
Posts: 4133
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Application not responding

Post 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.
Djota
Posts: 10
Joined: Fri May 05, 2017 12:35 pm

Re: Application not responding

Post 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
User avatar
salvadordf
Posts: 4133
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Application not responding

Post 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.
Hitman
Posts: 73
Joined: Sat May 20, 2017 11:08 am

Re: Application not responding

Post 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.
Post Reply