1. Igor Perisic
  2. PowerBuilder
  3. Tuesday, 17 January 2023 17:37 PM UTC

Hi everyone, 

I was asked to do some research on these questions regarding the runtime in PowerBuilder 2022. I found documentation on it that answers my questions, but would like to confirm my understandings with people knowledgeable on this topic.

1. A .xml file generates after deploying the project, why is that there? 

2. What happens if the .xml file is not there and I run the executable?

3. For both if the .xml is there and if its not - how does it find the runtime and what is the search order?

Thanks! 

 

 

Accepted Answer
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 17 January 2023 17:55 PM UTC
  2. PowerBuilder
  3. # Permalink

The XML file specifies the location of the PowerBuilder runtime. If the file is not present, the standard DLL search method is used to find the runtime.

https://learn.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order

 

Comment
  1. mike S
  2. Tuesday, 17 January 2023 19:52 PM UTC
It will check the exe's current directory and if runtime not found, it, then checks for the xml file.
  1. Helpful 1
  1. Igor Perisic
  2. Tuesday, 17 January 2023 20:20 PM UTC
Thank you
  1. Helpful
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Tuesday, 17 January 2023 19:46 PM UTC
  2. PowerBuilder
  3. # 1

If you place the runtime dlls in the same folder as your exe, then it will use those dlls.  If they are not there, then it will use the xml file location.  If it is not there, then it will search using system paths.

Comment
  1. Igor Perisic
  2. Tuesday, 17 January 2023 20:20 PM UTC
Thank you
  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.