Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Powerbuilder 7 In Windows 7

Powerbuilder 7 In Windows 7

Powerbuilder 7 In Windows 7

My company is in the process of migrating from Windows XP to Windows 7. As this is the case, our Powerbuilder 7 applications are getting moved as well.

We've gotten builds of the applications (from xp) working on the windows 7 machines, but we're having issues when trying to run the applications from the powerbuilder IDE.

In windows 7 when I log into a user schema (ex: 'BMP') when running the application, the calls to public functions get prepended with the user schema name. This looks something like:

what should be called is:

The database hasn't changed, the PB version hasn't changed, the only thing (to my knowledge) that has changed is the Operating system. Why would the schema name be added before the function call in Windows 7?

Do you know what could be causing this error?


RE: Powerbuilder 7 In Windows 7

The fix is something of a workaround.

I ended up copying the PBO8470.dll file from the soms application installed into the PB7 Shared folder, replacing the one installed by Powerbuilder.

In comparing the two files, it seemed that the binaries had been compiled differently on each machine, but windows 7 had the ability to interpret the binary compiled on the windows xp machine.

I'd attach a copy here, but there doesn't seem to be a file upload area.

In any case, If you can find a copy of that dll from a previous version of windows, and replace the one installed on the machine, it should work.

RE: Powerbuilder 7 In Windows 7

Just as an added sidenote, you can copy an existing install in winxp (including registry items) straight to windows 7 and it works. I'm not sure how stable an xp program is on a windows 7 machine, but it works.

RE: Powerbuilder 7 In Windows 7

I was involved in PB app migration in one of my projects. We verified the app exes in both 32-bit and 64-bit folder in Win7. They worked fine.
Just make sure if there is any hard coding involved pointing to C:\Program Files. As in Win 7, we have C:\Program Files(x86). Reference to particular directories might create issue. We fixed this by using GetCurrentDirectoryA() function.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close