Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser EnableLargeAdressSpace eowp.exe usage Options
Fabien
Posted: Thursday, November 3, 2016 6:17:07 AM
Rank: Advanced Member
Groups: Member

Joined: 7/21/2014
Posts: 130
Hi,

Can you explain what is the usage of eowp.exe when we using EnableLargeAdressSpace = true option?

The option seems to work even if this executable isn't add.

Thanks!
eo_support
Posted: Thursday, November 3, 2016 10:35:50 AM
Rank: Administration
Groups: Administration

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

EO.WebBrowser creates child processes at runtime. By default it uses Windows system files rundll32.exe to start child process. However rundll32.exe is not built with /LARGEADDRESSAWARE link option:

https://msdn.microsoft.com/en-us/library/wz223b1z.aspx

This will limit the logical address space to the process to 2GB. eowp.exe on the other hand is linked with this flag. So it can use full 4GB address space.

At runtime, EO.WebBrowser will automatically creates eowp.exe if it can not find one. However dynamically creating an exe file and then run it can potentially trigger false alarm from security software. So it is recommended that you ship it with your application so it already exists when your application runs. You can also use this method to override the exe file name/location:

https://www.essentialobjects.com/doc/eo.base.runtime.initworkerprocessexecutable.aspx

For example, you can name the exe file as YourAppChildProcessLauncher.exe, thus making it more obvious to end user that this is used by your application.

Thanks!
Fabien
Posted: Thursday, November 3, 2016 10:46:58 AM
Rank: Advanced Member
Groups: Member

Joined: 7/21/2014
Posts: 130
Ok, thank you for that explanation, and thank you for initworkerproccessexecutable () method we had not seen!
It will indeed be much better for the end user (and us).


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.