Skip to Content
avatar image
Former Member

Do PowerBuilder DDE functions work on Windows 10?

Any time I try to execute a DDE function (e.g. OpenChannel or SetRemote) on a Windows 10 PC, PowerBuilder 12.6, build 4058, hangs and needs to be ended via Task Manager. Even the simple command below, which I've tested and have confirmed works fine on machines with earlier versions of Windows, doesn't work on Windows 10.

OpenChannel("WINWORD", "System")

Is there something wrong with my configuration, or is this a bug in PowerBuilder?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Oct 27, 2016 at 06:35 PM

    Hi Robert;

    1) Have you tried running the PB IDE as "ADMIN"?

    2) In W10, open the Task Manager .... then:

    a) RHMB the PB IDE or your PB application .EXE - then select "Go to Details".

    b) In the next screen, use the RHMB & then select "Analyze Wait Chain"

    c) have a look at the "wait Chain dialog for clue to any resources your DDE application is waiting for.

    Hopefully, this might tell us what your DDE application is waiting for (aka "hung")!

    HTH - Regards ... Chris

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Since the PB IDE itself is 32bit, there is no surprise that its consuming SPLWOW64.exe.

      SPLWOW64 though is used to support print spooling. So I do not think that it would affect any DDE activity. It must be something else blocking your PB application. However at this time, I am not sure exactly what it might be.

  • avatar image
    Former Member
    Oct 25, 2016 at 04:52 PM

    Make sure you are using the 32-bit version of Office.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 25, 2016 at 07:28 PM

    Hi Robert;

    Have you tried to compile your PB application into a 64bit .EXE in order to try this against a 64bit version of MS-Office?

    HTH

    Regards ... Chris

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for the reply. I have Office 2013 32-bit installed on a 64-bit version of Windows 10, but the OpenChannel call in my question is actually just an example that I ran from the PowerBuilder debugger in order to test the issue. For that example, I didn't run any compiled code. The original points of failure were DDE calls to another PB application. Both the client and server applications (in DDE terms) are 32-bit executables running on the same machine.

  • avatar image
    Former Member
    Oct 26, 2016 at 04:06 AM

    What kind of DDE error(s) are you getting?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      PowerBuilder doesn't return any errors. As soon as any attempt is made to execute a DDE function, PowerBuilder hangs. Is there a way to check for DDE errors outside of PowerBuilder?