PowerBuilder Native Interface (PBNI)

Since PowerBuilder IDE is 32-bit, this introduces some challenges with PBNI interfacing with 64-bit. In the PowerBuilder IDE, you can only import the 32-bit PowerBuilder extensions into the PBL (using the Import PB Extension context menu) or create the PBD file from the 32-bit PBX file using the pbx2pbd220.exe tool. But for runtime, you can still package and distribute the 64-bit extension libraries with your 64-bit applications. What you need to do is compile the extension libraries to 64-bit PBX files using the Visual Studio Wizards, and make sure your 64-bit PBX files have the same name as the 32-bit files, since the application references it by file name. (read more)