[DUG] Intercepting messages in separate units

Ross Levis ross at stationplaylist.com
Mon Jun 27 19:10:21 NZST 2005


I'm writing a component which communicates with a 3rd party DLL using WM_USER messages.  After loading the DLL, I need to tell the DLL the handle to send user messages back to, so my unit can intercept them, but I don't know where to get a handle from.  I know how to do it in the mainform of a program but not in a separate unit.  The messages sent to the mainform do not appear to reach my unit.

What do I need to do to make this happen?

Thanks,
Ross.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20050627/11a243bd/attachment-0001.html


More information about the Delphi mailing list