Welcome Guest Search | Active Topics | Sign In | Register

Process Identification for cleanup Options
James
Posted: Tuesday, March 3, 2015 1:29:56 PM
Rank: Advanced Member
Groups: Member

Joined: 2/11/2015
Posts: 122
We have embedded Eo.WebBrowser into our application using the Multi-DLL build.
It works great overall, however on occasion in not entirely known circumstances the rundll processes that EO starts will be left open.

I've seen this come up regularly while testing in Visual Studio and terminating the process. I don't consider this an issue as I'm not working with the software in a normal manner at that point.

We also see this occur "in the wild" however. Sometimes it's accompanied by a crash with exceptions logged. we don't always have the full picture however.

I would like to try and clean up these processes when our application starts, but I want to be sure I'm not killing off any processes that were not created by my application. I wanted to know if there is any way I can uniquely identify these processes already.

If not would it be possible to add something to allow us to uniquely identify the processes?

I had initially tried to handle this by supplying a junk command line parameter containing a GUID. This worked overall, however it doesn't tag the primary EO process.
eo_support
Posted: Tuesday, March 3, 2015 2:54:10 PM
Rank: Administration
Groups: Administration

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

Have you tried to call this method and see if it cleans up all the processes?

http://www.essentialobjects.com/doc/6/eo.webbrowser.runtime.shutdown.aspx

Thanks!
James
Posted: Tuesday, March 10, 2015 12:35:41 PM
Rank: Advanced Member
Groups: Member

Joined: 2/11/2015
Posts: 122
I'll investigate this, however I expect that it wont clean up processes that have been orphaned by a failed run of my application.


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.