1. Igor Perisic
  2. PowerBuilder
  3. Tuesday, 29 November 2022 19:05 PM UTC

So PowerBuilder uses their DLL implementation for Virtual Memory (PBVM), is it possible to compile PB to native code instead of intermediate P-Code and if so how is it done? 

IF its possible to do native code, what kind of cons will I see compared to use P-Code?

Accepted Answer
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 29 November 2022 19:18 PM UTC
  2. PowerBuilder
  3. # Permalink

You can compile to Machine Code which produces an EXE and DLL files (instead of PBD) for your code. You still need the same PB Runtime files that a P-Code executable does.

Comment
  1. Igor Perisic
  2. Tuesday, 29 November 2022 20:07 PM UTC
Oh I see how to do Machine Code
  1. Helpful
  1. Igor Perisic
  2. Tuesday, 29 November 2022 20:10 PM UTC
Only problem I have now is an error "The code execution cannot proceed because PBSHR.DLL was not found. Reinstalling the program may fix this problem".
  1. Helpful
  1. Igor Perisic
  2. Tuesday, 29 November 2022 20:25 PM UTC
I got that working too. Had to install run PowerBuilder Runtime Packager and then add the Runtime folder to my path
  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.