[wx-dev] IPC issues

Vadim Zeitlin vadim at wxwidgets.org
Sat Dec 1 03:03:58 PST 2007


On Fri, 30 Nov 2007 21:05:12 -0500 Brian Vanderburg II <BrianVanderburg2 at aim.com> wrote:

BVI> After doing some work on IPC and testing it in the current stable and 
BVI> partial testing in the dev branch I came to the following conclusion.

 Notice that wxIPC behaviour is quite different in 2.8 and trunk. All my
remarks apply to the trunk only.

BVI> So for the server to be most flexible it should do something like this?

 In trunk it should just wxIPC_UTF8TEXT.

BVI> But DDE on MSW seems to only 'best' support sending it in the format the 
BVI> program is compiled in and receiving it likewise.

 DDE is supposed to use Unicode in Unicode build (i.e. always now). I don't
see where would the conversion to multibyte happen with it, do you?

BVI> Also the above tests wouldn't work well with DDE so extra code would be 
BVI> needed:

 This is indeed a problem. We probably need a function in wxConnectionBase
to convert (data, size) to wxString.

BVI> After doing testing the new code, it seems that MSW execute does not 
BVI> even work at all when saying Execute(const char*).

 Hmm, what happens? Can you reproduce this in the exec sample?

 Thanks,
VZ





More information about the wx-dev mailing list