On 2013-04-08 22:17, Adam Kennedy wrote:
This is the class in question.

http://docs.wxwidgets.org/stable/wx_wxddeserver.html#wxddeserver

And I stand corrected, this would fix the port problem ONLY on Windows.

On Unix, we need to switch to code that avoids their emulated dde and uses file system sockets.

Adam


On 8 April 2013 14:12, Adam Kennedy <adamkennedybac...@gmail.com <mailto:adamkennedybac...@gmail.com>> wrote:

    The port is used for the single instance server.

    Padre will connect to that port, and expects the server to respond
    immediately with a line that says that the server on that Port is
    a Padre instance.

    If it doesn't, then Padre starts up (I assume in since instance mode).

    A better approach than this would be for someone to overhaul the
    single-instance support anyway.

    The ideal solution is that WxWindows itself supports the necesary
    API for doing single instance support "properly" on each platform,
    but nobody would add that API to the Perl Wx bindings.

    If we have better control over the evolution of Wx than when I was
    working on Padre actively, by far the best solution is to have it
    added to Wx.pm and then port to using that instead of my
    hand-rolled approach.


Hi Adam

thanks for that.

regards
kevin

_______________________________________________
Padre-dev mailing list
Padre-dev@perlide.org
http://mail.perlide.org/mailman/listinfo/padre-dev

Reply via email to