1. Brage Mogstad
  2. PowerBuilder
  3. Wednesday, 1 February 2023 08:26 AM UTC

Hello,

I'm using the excellent "new" WebBrowser Control introduced in PB2019 R2. (https://docs.appeon.com/pb2019r2/whats_new/ch01s05.html) 
It works like a charm when I run it in Powerbuilder, but not in our compiled .exe + pbd project.
I suspect one ore more runtime .dll's are missing in the folder to make this work out at customers.

Does anyone know what .dll's to add in the program folder to make this control work?

Any help would be greatly appreciated.

Regards
Brage

Accepted Answer
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Wednesday, 1 February 2023 10:48 AM UTC
  2. PowerBuilder
  3. # Permalink

pbwebbrowser.dll is in the runtime folder.

In the subfolder "CEF" you should find these: (and its dependent DLLs: chrome_elf.dll, d3dcompiler_43.dll, d3dcompiler_47.dll, libEGL.dll, libGLESv2.dll, libcef.dll, swiftshader/libEGL.dll, swiftshader/libGLESv2.dll) and "pbcef" folder

 

Did you select the options marked in yellow when creating the msi installer with the runtime packager?

 

Comment
  1. Miguel Leeuwe
  2. Wednesday, 1 February 2023 10:52 AM UTC
So the "cef" folder should remain as a subfolder, no need to copy the files to the upper directory level.
  1. Helpful
  1. Brage Mogstad
  2. Wednesday, 1 February 2023 11:29 AM UTC
FYI: Yes, this was the way to go, and what I initially did. What confused me was the fact the pbwebbrowser190.dll was missing. FYI, still, in my environment, the pbwebbrowser190.dll, is actually missing in my .msi. My best I guess is that it's obsolete. The browser seemed to work just fine nonetheless, so this was the solution.
  1. Helpful
  1. Miguel Leeuwe
  2. Wednesday, 1 February 2023 11:35 AM UTC
Yes, it's obsolete as I explained in another comment. From R3 and later, the "190" is no longer in the dll names.

Glad it's working now!
  1. Helpful 1
There are no comments made yet.
Brage Mogstad Accepted Answer Pending Moderation
  1. Wednesday, 1 February 2023 10:08 AM UTC
  2. PowerBuilder
  3. # 1

Hello,
Thanks, this was it. But for some reason these files you mentioned are nowhere to be found on my laptop:
pbwebbrowser190.dll
chrome_elf.dll,
d3dcompiler_43.dll,
d3dcompiler_47.dll,
libEGL.dll,
libGLESv2.dll,
libcef.dll,
swiftshader/libEGL.dll,
swiftshader/libGLESv2.dll
+ the "pbcef190" folder with its entire contnts

I tried to make .msi file with the Powerbuilder Packager but they was not there.
Tried to download runtime files from the Appeon knowledge base, but they was not the zip-files.
Do I have to reach out to Appeon to get these files, or perhaps this is a toggle I missed during during installation? 

I'm currently on Appeon PB 19 R3 build 2728.

Regards
Brage

Comment
  1. Miguel Leeuwe
  2. Wednesday, 1 February 2023 10:26 AM UTC
  1. Helpful
  1. Brage Mogstad
  2. Wednesday, 1 February 2023 10:28 AM UTC
I ran it on my own laptop, but the .msi file didn't contain these files at all. For some reason these files are missing from my installation. Perhaps its an enterprise thing.



B
  1. Helpful
  1. Andreas Mykonios
  2. Wednesday, 1 February 2023 10:45 AM UTC
I gave then link for R2 as in original post R2 was referenced. For R3, as IDE was decoupled from runtime, those files are located in the new location where runtime files are installed. It should be something like C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 19.2.0.xxxx where xxxx should be replaced with the ebf you want to use. For the runtime packager you have to check Webbrowser support under Web Integration Features.

Andreas.
  1. Helpful
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Wednesday, 1 February 2023 08:46 AM UTC
  2. PowerBuilder
  3. # 2

 

Hi.

You need to deploy the following:

pbwebbrowser190.dll (and its dependent DLLs: chrome_elf.dll, d3dcompiler_43.dll, d3dcompiler_47.dll, libEGL.dll, libGLESv2.dll, libcef.dll, swiftshader/libEGL.dll, swiftshader/libGLESv2.dll) (and "pbcef190" folder)

You can find documentation on the following link: PowerBuilder runtime files - - Application Techniques (appeon.com).

Andreas.

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.