1. Bradley Schultz
  2. PowerBuilder
  3. Tuesday, 6 March 2018 21:29 PM UTC

I have been having this issue for quite a while going back to PB 12.5 at least(although it seems more repeatable on 2017 R2) and thought I would see if any one has some insight.

Whenever I build my application with the project painter everything works fine - ie the app works fine- but the next time I try and run the application from the development environment, the application crashes immediately. It is almost as if some kind of application or pbl level information gets corrupted. If I create a new target and application pbl, import the code for the app and reassign the library list everything seems back to normal. Then when I build the next time it happens all over again. Does anyone have any ideas? Is there something I might investigate that is associated with the application or might get modified when a build is done?

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 7 March 2018 00:50 AM UTC
  2. PowerBuilder
  3. # 1

Hi Bradley;

Can you tell us ...

  • Is this a PFC based App?
  • Have you optimized all your PBL's
  • Does your APp use any external DLL's?
  • Does your App use any MS-Window SDK calls?
  • What version & bitness of of MS-Windows are you using?
  • Does it run OK if you launch the App via the Debugger?

Regards ... Chris

 

Comment
There are no comments made yet.
Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 7 March 2018 14:52 PM UTC
  2. PowerBuilder
  3. # 2

Hi Bradley,

 

We recommend opening a support ticket and submitting your test case to Appeon Support: https://www.appeon.com/standardsupport/newbug
 
 
Regards,
Comment
There are no comments made yet.
Michael Kramer Accepted Answer Pending Moderation
  1. Wednesday, 7 March 2018 15:31 PM UTC
  2. PowerBuilder
  3. # 3

Hi Bradley,

  1. Do you have a duplicate class name across your library list?
  2. Do you have multiple application objects within your active library list?

Re 1: Duplicate Class Name

Multiple windows (or any other object type) may use same class name (EX: "test") across PBL files. No problem unless you make changes to the library list.

But name = "test" for both a window, a menu, a global function, and a nonvisual object is "allowed" even within a single PBL file - and your app behavior is hard to predict.

Re 2: Multiple Application Objects

Usually no problem, but if they use different type for global variables of same name - that may cause issues.

 

HTH /Michael

Comment
There are no comments made yet.
Bradley Schultz Accepted Answer Pending Moderation
  1. Friday, 18 May 2018 14:47 PM UTC
  2. PowerBuilder
  3. # 4

It appears that this is actually caused by adding an application icon. Is this a known issue of some sort? Is there only certain icon types are are supported?

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.