1. Olan Knight
  2. PowerBuilder
  3. Monday, 17 May 2021 19:07 PM UTC

PB2019R3, b2703

When running the EXE compiled with the same code using PB2019R3, b2670, all DW retrieves work correctly.

When running the EXE compiled with b2703, though, the first DW retrieval fails:

The same code run from the 2703 IDE works.
The same DW retrrieving data from the DW Painter in the 2703 IDE works.

?!?!?!? 

I thought this might be a missing DLL, but I've no clue as to which one; and I copied ALL of the DLLs into the test folder, but that did not resolve the issue.


I'm stumped. Any ideas?


Thank You,

Olan

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 17 May 2021 19:40 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Olan;

  You did remember to package all your DWO related PBL's into either a DLL and/or PBD - right?

Regards ... Chrid

Comment
  1. Olan Knight
  2. Wednesday, 19 May 2021 14:09 PM UTC
This piece of code is a utility, with a single PBL. In the past, we have compiled the PBL without checking the "PBD (or DLL) option on the "Library" tabpage of the Project File. This resulted in the entire code being compiled into the EXE. As we want with a utility.



This has been literally working for decades, then *ks-WHAM*, this error pops up. *Sigh*



I went ahead and created a DLL for the utility, and that resolved the issue. Thank you!



Still, I'd like to know why SUDDENLY it stopped working.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 19 May 2021 15:13 PM UTC
It would work as a single EXE with no DLL/PBD's if you have a PBR file that directs the Linkage Editor to include the DWO's into the EXE.
  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.