Logo
My Account |  Site Map | Contact Us  
Welcome Guest Search | Active Topics | Sign In | Register

Issues with 19.x when shutting down computer Options
Einkauf MX42
Posted: Wednesday, May 15, 2019 7:53:14 AM
Rank: Newbie
Groups: Member

Joined: 5/15/2019
Posts: 1
Since upgrading EO.Webbrowser from 18.x to 19.x (no matter which revision) we have problems regarding shutdown veto when our UI application is running.



On Windows 7, the system refuses shutdown with the message that EOWP.exe blocks shutdown.

On Windows 10, the system shuts down, but if our own program wants to veto shutdown, it is ignored.



In both cases the window event log shows:

Information    5/14/2019 2:24:27 PM    Winsrv    10001    None The following application attempted to veto the shutdown: eowp.exe.

Information    5/14/2019 2:24:27 PM    Winsrv    10001    None The following application attempted to veto the shutdown: eowp.exe.

Information    5/14/2019 2:24:27 PM    Winsrv    10001    None The following application attempted to veto the shutdown: eowp.exe.

Information    5/14/2019 2:24:27 PM    Winsrv    10001    None The following application attempted to veto the shutdown: eowp.exe.


 


With 18.x it is working fine!


 


It is a big issue for our customers as they are disturbed when shutting down (on windows 7). On windows 10 our application can not delay the shutdown in order to save important data.

 
eo_support
Posted: Wednesday, May 15, 2019 4:15:31 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 21,434
Hi,

Please try to run our TabbedBrowser sample application in the same environment and see if you see the problem. V19 made some changes regarding shutdown process in order to make sure the underlying process (eowp.exe) does not get killed before the host application (your application/TabbedBrowser) closes. The normal shutdown process is (take TabbedBrowser as an example):

1. Both TabbedBrowser.exe and eowp.exe receives shutdown notifications;
2. eowp.exe vetos the shutdown to prevent itself being killed;
3. TabbedBrowser.exe proceeds to shutdown. It may decide to perform some last minutes actions by handling Application.SessionEnding event. Inside this event the WebView are still functional since the underlying eowp.exe processes are still running. This is the purpose of eowp.exe vetos the shutdown;
4. TabbedBrowser.exe proceeds with the shutdown and closes all WebViews;
5. eowp.exe is notified all WebViews have been closed;
6. eowp.exe revokes its veto and continues to exit;
7. The system continues to shutdown;

If TabbedBrowser works OK in your environment, then the issue maybe related to step 4, where your application was not shutting down cleanly.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.