[Qt-interest] Problem using QWidget::winEvent

Tony Rietwyk tony.rietwyk at rightsoft.com.au
Tue Jun 16 09:32:12 CEST 2009


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.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090616/57975ce9/attachment.html 


More information about the Qt-interest-old mailing list