1. SHAMEEM KAKKAD
  2. PowerBuilder
  3. Tuesday, 19 March 2024 05:46 AM UTC

Hi,

After migration from 2021 to 2022, some my clients telling, application terminating frequently. if some window opened and do something in that window, after that they minimized the window and while try to maximize, coming application termination message.

what is the issue ?

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 19 March 2024 12:25 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Shameem;

  My first thought would be to see what code is being executed on the Resize, GetFocus & Activate events that might cause a crash if not coded accurately.

Regards ... Chris 

Comment
  1. SHAMEEM KAKKAD
  2. Saturday, 30 March 2024 08:42 AM UTC
There is some codes in resize, if i block this code, issue not repeating..

Thanks for your response..
  1. Helpful 1
  1. Chris Pollach @Appeon
  2. Saturday, 30 March 2024 13:21 PM UTC
Great! That sounds like you found the problem area. So now, you just need to refactor the Resize Event code a bit to stop the crashing. Tip: the IsValid() method can be your friend here. ;-)
  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.