1. Ashutosh Varshney
  2. PowerBuilder
  3. Friday, 7 May 2021 20:13 PM UTC

Hi Guys,

I hope someone can throw some light on this.

I have a window w_ord_detail which has been inherited from w_ord. There are 2 copies of w_ord in two different libraries lib1 and lib2. Say lib1 is higher on my library list, my application would always use lib1::w_ord as the ancestor. Would the same be true when I compile the application and run it?

In my case my application runs fine from the IDE but when I run the compiled application and open w_ord_detail the application crashes. I am thinking that it is not able to resolve the ancestor.

Thanks.

AV.

Accepted Answer
Ashutosh Varshney Accepted Answer Pending Moderation
  1. Tuesday, 11 May 2021 17:55 PM UTC
  2. PowerBuilder
  3. # Permalink

I ended copying the descendant window in the other library (lib1) which resolved my crash issue.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 7 May 2021 20:49 PM UTC
  2. PowerBuilder
  3. # 1

Hi Ashutosh;

   The library list and library searching order is the same in the EXE as it is in the IDE.

   However, I would perform a FULL Build in the IDE and check for errors and/or warnings on this ancestor.

Regards ... Chris

Comment
  1. Ashutosh Varshney
  2. Friday, 7 May 2021 23:11 PM UTC
Thanks Chris.

  1. Helpful
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Saturday, 8 May 2021 01:44 AM UTC
  2. PowerBuilder
  3. # 2

I'd suggest either stepping throug the code in DEBUG mode to see what's going on, OR placing strategic Messageboxes in the code to isolate the issue.

Olan

 

Comment
  1. Ashutosh Varshney
  2. Tuesday, 11 May 2021 17:51 PM UTC
Thanks Olan.
  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.