Problems with IPC sample in wxGTK 2.7.1
Julian Smart
julian at anthemion.co.uk
Wed Nov 1 01:30:35 PST 2006
Hi Carl,
Thanks a lot for tracking that down. I hope someone well versed in
sockets will pitch in, but if not, I'll just revert this patch, if
possible before 2.7.2.
Thank again.
Julian
Carl Godkin wrote:
> On 10/31/06, Carl Godkin <cgodkin at gmail.com> wrote:
>
>> * The IPC sample crashes in 2.7.1 when I push "Start advise" in the
>> client. (It's the client that asserts.) Note that you need to patch
>> samples/ipc/client.cpp -- broken in the 2.7.1 release -- with version
>> 1.20 from CVS HEAD first.
>>
>
> I found that reverting patch 1476893 "wxSocketStream improvements"
> fixes this problem.
>
> The patch affected src/common/sckstrm.cpp only and I can make
> the IPC Advise mechanism work again by reverting the change to
> OnSysRead().
>
> (Looking at the patch comments, it appears it was never tested on
> Linux though it looks like Robert suggested it. The patch submitter
> only submitted it on Windows apparently.)
>
> I will be the first to admit I don't know much about network programming
> so I'm unable to suggest how to fix the patch. But maybe someone (like
> the patch submitter who clearly understands socket code!) could try the
> following since he apparently has just Windows:
>
> 1. Edit samples/ipc/ipcsetup.h and uncomment the following define:
>
> // You may set this to 0 to prevent DDE from being used even under
> Windows
> // #define wxUSE_DDE_FOR_IPC 0
>
> 2. Rebuild client and server and test that the Advise mechanism works
> in that sample on Windows still.
>
> Thanks,
>
> carl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>
>
--
Julian Smart, Anthemion Software Ltd.
28/5 Gillespie Crescent, Edinburgh, Midlothian, EH10 4HU
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
wxWidgets RAD: www.anthemion.co.uk/dialogblocks
More information about the wx-users
mailing list