Welcome Guest Search | Active Topics | Sign In | Register

EOWP error while stopping Windows Options
Benoit
Posted: Saturday, May 30, 2020 12:03:18 PM
Rank: Member
Groups: Member

Joined: 3/27/2020
Posts: 23
Hello,

We use EOWebBrowser in a Winform application. We have activated EO Worker Processes.

The program works fine. But every now and then, if we stop Windows directly (i.e. stop the computer) while the program is still running, an error pops-up. I'm not sure about the exact text of the error message, but looking at Event Observer I see the following errors (translated from French) :

Message from application : eowp.20.1.30.0.exe - Application error : The application couldn't start correctly (0xc0000142). Click OK to close the application.

The following application tried to refuse the halt : eowp.20.1.45.0.exe. (multiple times)

Any hints?

Regards,
Benoit


eo_support
Posted: Monday, June 1, 2020 1:36:40 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

It appears that EO.WebBrowser is trying to start eowp.exe when Windows is trying to shutdown. Usually EO.WebBrowser should not do that because new eowp.exe is only created under some scenarios such as when new WebView is being created, or when an existing WebView trying to redirect to another page. So you may want to check:

1. Whether your application is handling windows shutdown down event and try to initialize some action in that event;
2. If you do not handle such event, you can try to handle this event and explicitly destroy all WebViews in your event handler:

https://docs.microsoft.com/en-us/dotnet/api/microsoft.win32.systemevents.sessionending?view=dotnet-plat-ext-3.1

3. You may also want to try loading different pages before shutting down to see if the problem is related to the page;

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.