1. Patrick Baas
  2. PowerBuilder
  3. Monday, 8 January 2018 13:27 PM UTC

Hello Community!

We have a strange issue with our PowerBuilder 32bit (PBD) application and Windows 10 64bit.

We have deployed our application on a standard Windows 10 (32bit & 64bit) client and tested with a standard user account (not administrator).

Opening a window works fine (part from trace file):

The same thing is failing on the Windows 10 64 Bit installation of our customer:

After creating the first dwobject, this window is destroyed. The windows does not open and each click on a different menu item will crash the application.

If we start the application from command prompt, then it is also working on the machine of our customer.

Has someone an idea what could cause this issue?

Update:

PB2017 Build 1666.

It is an 32Bit application running on Windows 10 64Bit.

Regards,

Patrick

yakov werde Accepted Answer Pending Moderation
  1. Monday, 8 January 2018 14:13 PM UTC
  2. PowerBuilder
  3. # 1

Hello

Please tell us your release/build number.  Is this 64 bit app 12.6 or 2017 R1?

Comment
  1. Patrick Baas
  2. Monday, 8 January 2018 14:35 PM UTC
PB2017 Build 1666.



It is an 32Bit application running on Windows 10 64Bit.

  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 8 January 2018 14:47 PM UTC
  2. PowerBuilder
  3. # 2

Hi Patrick;

   When you upgraded to PB 2017 - did you also upgrade your PFC library layer?

Regards ... Chris

Comment
  1. Patrick Baas
  2. Monday, 8 January 2018 15:15 PM UTC
We used the migration wizard and migrated the PB12.5 application (including the PFC libraries), but we did not use the libraries from github.

  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Monday, 8 January 2018 15:31 PM UTC
  2. PowerBuilder
  3. # 3

It could be due to an external function. In 12.6 there was a change to the byte alignment of external function arguments which can have a detrimental effect of functions that use structures.

 

Try running the app with /pbdebug to pinpoint the exact line of code

Comment
There are no comments made yet.
David Peace (Powersoft) Accepted Answer Pending Moderation
  1. Monday, 8 January 2018 17:12 PM UTC
  2. PowerBuilder
  3. # 4

Hi

You said "If we start the application from command prompt, then it is also working on the machine of our customer."

Do you mean that if you open cmd and then run myapp.exe it works ok. It only fails if you run from a shortcut?

If this is the case, check your shortcut properties, check the starting folder etc. Also did you know that cmd can start with different environment from the desktop so it may just be possible that the environment you are running in is not the same.

Cheers

David

Comment
  1. Patrick Baas
  2. Tuesday, 9 January 2018 10:40 AM UTC
Yes, you are right.



We double click the exe in the Windows Explorer  or start the application via Shortcut, then it is not working for our customer.



Same on our own test machines is fine.



Starting the exe in command prompt is working in any case.



So the customer Windows 10 64 bit client seems to configured differently to our default Windows 10 64 bit installation.



Unfortunately we do not have direct access to the customers Windows 10 image. The only thing we can do is screen sharing via Skype.



What we see from the trace file is, that the window is being opened and the controls are created. Then the dwobjects should be created, but after the first one the window will be destroyed. So for the user it seems that nothing happens if he clicks the menu item. A second click on another menu item will crash the application.



We are currently stuck to find out the difference in the configuration of the Windows 10 installations.



So if someone has some ideas how to proceed , I would appreciate some hints.



 



 

  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.