1. Christopher Craft
  2. PowerBuilder
  3. Friday, 28 April 2023 20:29 PM UTC

I have started to implement the new Web Browser Control in multiple places within my UI.  My 'Home' page has one. I also have a Documents tab that uses it to display PDF files saved to the transaction. This tab exists on every program (sheet) that opens up.  Everytime a new program opens I see 1 to x pbcefclient.exe's in Task Manager.  For instance, when I first run my app the home page is the only thing open yet there are 5 pbcefclients running even though I only have 1 browser control on the home page.  What is causing this?  Is there a way to prevent all of these?

Chris Craft

Accepted Answer
Arnd Schmidt Accepted Answer Pending Moderation
  1. Sunday, 30 April 2023 01:39 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Christopher,

this is because of the multi processing architecture of the Chromium Embedded Framework.

CEF is more than a single threaded PowerBuilder UI loop ;-)

https://bitbucket.org/chromiumembedded/cef/wiki/Architecture.md

For an upcoming PowerBuilder Release and the change to the Microsoft WebView2 Control you also will find multiple WebView2 processes.

https://www.askvg.com/what-is-microsoft-edge-webview2-msedgewebview2-exe-in-windows-10-and-11/

hth

Arnd

 

Comment
  1. Christopher Craft
  2. Tuesday, 14 November 2023 22:27 PM UTC
Forgot to accept this as the answer. Thanks Arnd
  1. Helpful
There are no comments made yet.
Christopher Craft Accepted Answer Pending Moderation
  1. Wednesday, 3 May 2023 17:55 PM UTC
  2. PowerBuilder
  3. # 1

Thanks for the replies!  So, I understand that for each Web Browser control I will have a pbcefclient.exe running but what I am trying to understand is when does the control decide to create 2 or 3 ... pbcefclient.exe's? This control only shows a local html file.  The answer might just be 'because that is how it works' but I am probably going to get questions from our customers as to why so I thought I would ask.

Thanks again,

Chris Craft

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 3 May 2023 18:13 PM UTC
Hi Chris;

FYI: This module is gone in PB 2022 R2 as Appeon is swapping out the Chromium engine that drives the WB Control for the WebView2 engine (native MS-Windows) for the built-in Web Browser Control. ;-)

Regards .. Chris
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 28 April 2023 21:02 PM UTC
  2. PowerBuilder
  3. # 2

Hi Chris;

  Are you referring to PB 2019 R3 with PowerServer 2020?

FYI: https://community.appeon.com/index.php/qna/q-a/pbcefclient-exe

Regards ...Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.