Mastering PowerBuilder

HomePrevious Lesson: Course 3:: Session 25 :: Page 60
Next Lesson: Course 3:: Session 25 :: Page 80
Machine Code

Till version 4.0, you don’t have any option other than P-Code. Now, you can ask PowerBuilder to create machine code instead of P-code. Even though the executable/DLL size larger compared to P-Code, machine code is faster than P-code. When you choose to create machine code, the process is done as follows:

PowerBuilder first regenerates all the objects in all the libraries that are in the application library list. Then it generates P-Code. Then it generates ‘C’ code from the P-code and compiles the ‘C’ code and links into the executable and DLLs.

You can’t generate machine code on 16-bit windows. However, you can generate machine code on 32-bit machines, targeting either 32-bit machines or 16-bit machines.

HomePrevious Lesson: Course 3:: Session 25 :: Page 60
Next Lesson: Course 3:: Session 25 :: Page 80