1. Deva Shanmuga
  2. PowerBuilder
  3. Wednesday, 7 June 2023 10:20 AM UTC

Hi Experts,

How to find external object reference (dll, third party exe, services etc) is there or not for a PB application.

 

Thanks,

S.Deva

 

Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 7 June 2023 19:33 PM UTC
  2. PowerBuilder
  3. # 1

Look for the word 'Library'. All external function declarations will have it.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 7 June 2023 12:08 PM UTC
  2. PowerBuilder
  3. # 2

Hi Deva;

  Typically, external references are declared ahead of use. I would suggest searching your app for the keywords "Function" and "Subroutine".  HTH

Regards... Chris 

Comment
  1. John Fauss
  2. Wednesday, 7 June 2023 14:41 PM UTC
Searching for the keyword "function" will most likely result in hundreds (thousands?) of false positive hits since that keyword is present throughout object source code, as is "subroutine" (just typically not as frequently as "function").

- For external function declarations, I suggest instead searching for "library " (the word library with a trailing space included).

- If the app runs other programs, search for "run(" (or "run (" depending on the coding style used) if the PowerScript Run function is used to execute them.

- If the app uses OLE to interface with OLE server applications such as Excel or Outlook, search for the PowerScript function names that begin with "connectto".
  1. Helpful 3
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.