[Qt-interest] Problem using QWidget::winEvent
John McClurkin
jwm at nei.nih.gov
Tue Jun 16 14:12:59 CEST 2009
Tony Rietwyk wrote:
> Scott wrote:
>
> Ok.. so have you figured out what the problem is yet?
>
>
>
> Its right in front of you…
>
>
>
> Here is a hint.. look at the memory address of param1 and param2
> going into the SendMessage
>
>
>
> Then look at the memory address inside winEvent..
>
>
>
> Are the addresses the same? If no why?
>
> Are they pointing to the same data? If no why?
>
>
>
> Heck.. Im feeling generous.. and bored.. your problem, your apps
> don’t share memory space.. You cant do what you are trying to do…
> You need to look at more sophisticated IPC methodologies.
>
>
> Scott
>
>
>
> Hi Scott,
>
>
>
> I disagree with your conclusion. I suggest using WM_DATACOPY. See:
>
>
>
> http://msdn.microsoft.com/en-us/library/ms649011(VS.85).aspx
>
>
>
> Hope that helps,
>
>
>
> Tony.
In my opinion, WM_DATACOPY is one of the more sophisticated IPC
methodologies Scott was referring to. A problem with it is that is
platform specific.
More information about the Qt-interest-old
mailing list