Converting a PocketBuilder target to PowerBuilder

Export Pocket to Desktop wizard

You can convert a PocketBuilder target to a PowerBuilder target with the Export Pocket to Desktop wizard. The wizard determines which version of PowerBuilder you are using from your system’s PATH variable, then copies and converts into PBL files all the PKL files in the target you select on the first page of the wizard. The wizard also references the PBL files in a new target with a PBT extension.

NoteCreating ANSI or Unicode libraries If you are converting a PocketBuilder target for use in PowerBuilder 10 or higher, you must select the Create Unicode Libraries check box on the main page of the wizard. You must not select this check box if you want to convert the target to a PowerBuilder 8 or 9 target.

Files converted by the wizard keep the same names as the original files except for their extensions. The PowerBuilder VM must be in your machine's PATH variable in order for the conversion to proceed. The wizard uses the PBVMxx.DLL and the compiler PBCMPxx.DLL to convert the PocketBuilder source files, where xx is the version of the PowerBuilder VM.

The original target and libraries are left in their original directories, which is also where the new target and migrated libraries are saved. It is good practice to do a full rebuild after you add a target converted by the Export Pocket to Desktop wizard to a PowerBuilder workspace.