1. Pau Haro
  2. PowerBuilder
  3. Tuesday, 17 November 2020 17:01 PM UTC

Hello everyone, 

Im using a theme on my aplication and it's working on all the devices except one that have installed Windows Server 2008 R2. Does anybody know what is happening? ApplyTheme function is returns -1 only on this device.

Thanks.

John Fauss Accepted Answer Pending Moderation
  1. Tuesday, 17 November 2020 19:07 PM UTC
  2. PowerBuilder
  3. # 1

What version of the PB runtime are you using on the Windows Server 2008 R2 machine?

Although listed as a supported runtime environment for PB 2019 R1,

https://docs.appeon.com/pb2019/release_bulletin_for_pb/ch01.html

Windows Server 2008 R2 is no longer shown as a supported runtime environment for PB 2019 R2:

https://docs.appeon.com/pb2019r2/release_bulletin_for_pb/system_requirements.html

or for the 2019 R3 Beta:

https://docs.appeon.com/pb2019r3/release_bulletin_for_pb/system_requirements.html

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 17 November 2020 19:07 PM UTC
  2. PowerBuilder
  3. # 2

Hi Pau;

  From the PB 2019 Rx help ...

If the current operating system is Windows Server 2003, 2008, or 2008 R2 (or if the “Windows classic style” option is selected when building the application), the ApplyTheme function will not take effect and will return -1.

Note1: PB 2019 R2 and higher no longer supports W2008 / R2.

Note2: PB 2019 R3 and higher no longer supports W7.

Regards ... Chris

Comment
  1. Pau Haro
  2. Wednesday, 18 November 2020 10:03 AM UTC
Hello Chris,

I don't have the "Windows classic style" activated on my application. What I do not understand is if it lets me run the application why the theme does not apply.



Using PB 2019 R2 and deploying on Windows Server 2008 R2.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 18 November 2020 11:58 AM UTC
Hi Paul ... It's an "OR" situation. Whether using the Classic style or running on W2008 - then the theme feature is *not* supported.
  1. Helpful
  1. Miguel Leeuwe
  2. Wednesday, 18 November 2020 13:34 PM UTC
Hi Chris,

You said: "Note2: PB 2019 R3 and higher no longer supports W7 as well".

Would there be anything that "already" doesn't work on W7 when using pb 2019 R3?

Regards
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 17 November 2020 18:46 PM UTC
  2. PowerBuilder
  3. # 3

Did you copy the correct runtime DLLs and your UI Theme file?

Comment
  1. Pau Haro
  2. Wednesday, 18 November 2020 09:59 AM UTC
Hello Armeen,

Yes I did, the same folder with the aplication is deployed on other devices and working well. But when I run it on this with (Windows Server 2008 R2) the aplication runs but don't applies the theme.

  1. Helpful
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.