Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, since onw week I'm trying to set up to access a DDE-server with perl on a windows pc. (I don't like windows, but some programs only run on widows.)
I've found WIN32::DDE (with ::Client and ::Callback) but it is not updated since '98 and if you use it you'll get error messages and even the instructions are contradictory: ::Callback is called, while the comment in ::Callback says that the access should be done by the DDE.dll. At last 'ppm' of ActivePerl' does not know about WIN32::DDE.

Does anybody has either successfully worked with WIN32::DDE or knows about another solution. Especially with wxWindows should be a nice and easy to handle package for Perl not a big problem.

Thanks in advance for any hint,
have a nice weekend,
Carl

Replies are listed 'Best First'.
Re: Windows DDE
by JamesNC (Chaplain) on May 11, 2003 at 06:38 UTC
Re: Windows DDE
by Jenda (Abbot) on May 11, 2003 at 16:48 UTC

    I did work successfully with DDE quite some time ago and the Win32::Editor::PFE mentioned by JamesNC is one of the results. But I did not need DDE for very long so I do not remember much.

    Anyway ... could you give us more information? What error messages? What program are you trying to access? What does your code look like? ...

    Jenda
    Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
       -- Rick Osborne

    Edit by castaway: Closed small tag in signature

Re: Windows DDE
by Mr. Muskrat (Canon) on May 12, 2003 at 13:57 UTC
      Monks,

      thanks for your answers, but Win32::DDE seems not to be a very good solution!
      First Win::DDE::Client does not know the order DDE->ADVISE, where the DDE->client
      waits for what the DDE->Server puts in the ADVISE-channel to the Client.
      And this I need!
      Second - but this is only my suspicion - it does not know the EVENTS that are probably
      set by the DDE-Server. They indicate that s.th. was put into tha channel from the DDE-server.
      Win::32::Client sets a TIMEOUT itself - hmmm.
      On this site You can see - I think - a complete use of the DDE possibilites of a DDE-client.
      It discribes a DDE-Client opject, unfortunately in VisualBasic.

      Anyway, thanks to all of you
      Carl