Skip to Content
author's profile photo Former Member
Former Member

Running 64-bit PB12.6 application

I am trying to use PB12.6 for a 64-bit platform.

I created a "Hello World" app and linked it for 64-bit platform.

On attempting to run the executable it crashes with "The application was unable to start correctly (0xc000007b)".

Googling this I found a Sybase document which describes the Sysem Requirements for 64-bit deployment.

It says the runtime requirement includes "PB 12.6 64-bit system files". What are these?

On my development PC with the PB12.6 IDE the PB files are all in C:/Program Files (x86)/Sybase/Shared/PowerBuilder.

As I understand things these must be 32-bit system DLLs. Where are the 64-bit PB DLLs?

Help please anyone.

LArry Peters

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    Posted on Jan 07, 2015 at 05:42 AM

    If you look in the C:\Program Files (x86)\Sybase\Shared\PowerBuilder area, you will find a new x64 directory underneath it. For a 64 bit deploy, use the same runtime files as before:

    PowerBuilder Runtime Files

    Except that you would deploy the version from the x64 directory.

    For a rather simple application, I was able to get by with just deploying the following.

    • libjcc.dll
    • PBSHR126.DLL
    • PBVM126.DLL
    • PBUIS126.DLL

    Note that last file is new to PB 12.6, and must be included.

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 07, 2015 at 06:32 PM


    You can also use the PB Runtime Packager to create a 64 bit msi to deploy the 64 bit dlls.

    Pat Steinhardt

    64bitmsi.jpg (116.2 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Sudhir,

      Did you run the msi that was created with the runtime packager? The default if to deploy the msi to the Sybase directory. Also make sure you have all the required Microsoft files. If not on the deployment machine, you will need to manually deploy those.