Bug 6355

PowerClient and PS2021 - 3d Graphs 12 April, 2021

Chris Pollach @Appeon
26 March, 2021
Product: PowerBuilder Category: PowerBuilder Runtime
Version: 2019 R3 Build: 2670
Classification: Enhancement Publishing: Public
Priority: P3
Status: Transferring Reason:
Chris Pollach @Appeon 12 April, 2021
#12
Thanks ZhaoKai!
Kai Zhao @Appeon 12 April, 2021
#11
Hi Chris,

OK. I'll record 'both the Native PB App, PowerClient and new "Cloud: PS based applications" to prompt for the DirectX install if it is not installed'  as a new requirement/enhancement request and transfer it to our product team for consideration.

You mentioned the below behavior in your previous comment, so I tried to reproduce it in the native PB app exe but I couldn’t anyway.
---------------------------------------------------------------------------------------
Note that if you deploy a native PB App EXE to the same machine(s) ... when you start the App's EXE and you first try to display a DWO with a 3D graph, the PB runtime detects and prompts the user to install and if requested, controls the DirectX installation (as it has always done since DirectX support was added to PB by Sybase). 
---------------------------------------------------------------------------------------

And there is no PBVM DLL API call that you can make to have this action performed.


Regards,
ZhaoKai
Chris Pollach @Appeon 09 April, 2021
#10
Hi Zhao Kai;

  I think that we are getting a bit off topic here. The ticket was opened to ensure that the PB runtime checks for the missing DirectX software and if not found, prompts for it's installation.

  This requirement is for both the Native PB App, PowerClient and new "Cloud: PS based applications.

Regards ... Chris
PS: Is there a PBVM DLL API call that I can make to have this action performed?
Kai Zhao @Appeon 09 April, 2021
#9
Hi Chris,

I still cannot make the native App EXE prompt me for the DirectX install. Running the app in PB IDE prompts me for the DirectX install, and when I click ‘No’, it will prompt me for the DirectX install next time after restarting PB IDE.

Our developers also help to analyze this issue. This DirectX install prompt message pops up when PB calls the functions in PBD3DHLPR.dll, but before that, it will first load pbdwp.dll. In PB IDE, the pbdwp.dll can be loaded successfully, but it fails to load pbdwp.dll in exe thus won’t pop up the prompt message. Even if I deploy the related DLL with EXE, or even copy the EXE to the PB IDE directory to run, it still doesn’t pop up that DirectX install prompt message.

I wonder how do you make the native App EXE prompt for the DirectX install, please provide a virtual machine and a very simple PB case & deployed app including pbd, exe, runtime files, etc.. for more study. Thanks!

Regards,
ZhaoKai
Chris Pollach @Appeon 06 April, 2021
#8
Sorry, meant to say "The W10 VM did have PB 2019 R3 just installed".
Kai Zhao @Appeon 02 April, 2021
#7
Hi Chris, 

Thank you for your feedback! We have been working on it and will need some time to figure it out, we will get back to you if we need additional information or any progress we would make.

Regards,
ZhaoKai
Chris Pollach @Appeon 30 March, 2021
#6
Hi Zhao Kai;

  FWIW:  I was testing a new W10 VM install and ran the PC and native App EXE's on the VM. The native App EXE prompted me for the DirectX install. Of course, now the DX is installed, I cannot reproduce this without trying to recreate a new clean W10 VM. BTW: The VM was a W10 20H2 version.

  Note: The W10 VM did have PB 2013 R3 just installed.

Regards ... Chris
Kai Zhao @Appeon 29 March, 2021
#5
Hi Chris,

Thanks for your quick update. Please help double-check if the App's EXE prompt to install "DirectX" on your side. The only prompt message we get is when we run the application from IDE and we never get the prompt message from EXE on our end. Please kindly guide me to make it prompt from using the EXE. Thanks!

Regards,
ZhaoKai
Chris Pollach @Appeon 29 March, 2021
#4
Hi Zhao Kai;

  As requested ...

1) Version: PB2019R3 build 2670
   Version: PB2021 Beta build 1076
   => All of the above builds have this PowerClient problem. 
      Including PowerServer 2021 Apps as well.

2) W10 20H2 build 19042.867
   => Also the same issue on my W2016 & W2019 O/S test machines as well.

3) Please use the STD Framework's Demo App (OrderEntry) - the "Beta" edition for PB 2019 R3, as follows:

FYI: http://sourceforge.net/projects/stdfndclass/files/Applications/PowerBuilder/OrderEntry/Beta/PB2019R3


HTH
Regards ... Chris
Kai Zhao @Appeon 29 March, 2021
#3
Hi Chris,

Thanks for reporting this issue. But I get the same behavior on PB application and PowerClient/PowerServer application. All apps do not prompt the App user to install the Microsoft Windows "DirectX" support. It only prompts the user to install the Microsoft Windows "DirectX" support when users run the application from PowerBuilder IDE directly, and PB 12.6 has the same behavior.

Please help double-check if it does prompt the App user to install the Microsoft Windows "DirectX" support with the App's EXE on your side. And please provide the information below for more study, thanks.
1 PowerBuilder version you are using.
2 The OS version.
3 A simple PB case and deployed app including pbd, exe, runtime files, etc...

Regards,
Zhaokai
Chris Pollach @Appeon 26 March, 2021
#2
  Transferring to the main Support / Engineering team.
Chris Pollach @Appeon 26 March, 2021
#1
PB2019R3_PowerClient_3D_Graphs.png (108KB)

*Phenomenon: When you deploy & run either a PowerClient or PowerServer application that contains a DataWindow with a 3D graph, the CloudApp Launcher nor the PC/PS Apps prompt the App user to install the Microsoft Windows "DirectX" support. Thus, the DW graphs always display in 2D mode in PC and PS2021 Apps (see attached).


*Reproduce Steps: Run a PowerClient or PS2021 App on a machine that does NOT have DirectX installed and the App uses a DWO with a 3D graph.


Remarks:  Note that if you deploy a native PB App EXE to the same machine(s) ... when you start the App's EXE and you first try to display a DWO with a 3D graph, the PB runtime detects and prompts the user to install and if requested, controls the DirectX installation (as it has always done since DirectX support was added to PB by Sybase). The PC and PS2021 *needs* to support this feature as well.
OS:
Windows 10
Platform:
64-bit
Database Type:
SAP SQL Anywhere
Database Version:
17.0