Tuesday, April 16, 2013

Wx 0.9921 Released

Wx-0.9921 has been uploaded to CPAN with the addition of support for the Inter-Process Communication classes wxServer, wxClient and wxConnection.

It is implemented using DDE on Windows and sockets on other platforms. You can use UNIX sockets or INET sockets on none Windows platforms - but UNIX sockets are recommended for many reasons.

One caveat to usage on Windows is that prior to Alien::wxWidgets 0.64 wxWidgets on Windows was built without IPC support so if you want IPC on Windows you will need to install and build wxWidgets / Alien::wxWidgets again before building Wx. On other platforms your existing wxWidgets install should be OK.

Many of the methods in wxWidgets take parameters of the style 'databuffer, databuffersize'. For the wxPerl implementation there is no 'databuffersize' param.

The wxPerl methods are listed in the brief wxPerl IPC guide and demonstrated in the example ipc script that includes code for both a server and a client application.

Tested for wxWidgets 2.8.12 and 2.9.4 on Windows, Linux and MacOSX, it provides useful lightweight bi-directional messaging between wxPerl applications.

Note: don't use it for DDE conversations with MSExcel or whatever. You should use Win32::OLE instead.

The changes entries since the 0.9918 release are:

0.9919 - 0.9921 Sun Apr 14 2013
    - Makefile checks for supported Wx version
    - Fixed wxUSE_DATAVIEWCTRL constant ( rt#84566 )
    - wrapped wxRegionIterator
    - wrapped IPC - wxConnection / wxServer / wxClient

Package updates for Citrus Perl 5.16.3 have been released. Updated PPM's for ActivePerl have also been published.

1 comment:

  1. I invite those people who doesn't got free amazon gift codes and waste their time on internet. they are welcome to this place. From this place you should click on the free amazon gift card generator and then the amazon codes will be generated itself within few minutes.

    ReplyDelete