• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 140
  • Last Modified:

How to do message notification in a class?

I have this DLL file loaded that sends a windows message to a handle upon a byte received on the COM port.

I wan't to create a handle for a non visual class in my project and then write a "winproc" for it so that it can receive messages from this DLL... can this be done and how?

(I don't want the use the normal WinProc in my project to trap these messages.)
0
Probie
Asked:
Probie
  • 2
1 Solution
 
MadshiCommented:
Look at the VCL sources of TTimer, there you can find how Borland solved this problem.

Regards, Madshi.
0
 
ProbieAuthor Commented:
Hmm... I'm tired to waiting on this answer... you got the points
0
 
MadshiCommented:
I don't know what you mean. I gave you a good answer. Have you looked into the VCL sources? If you was not satisfied with my comment, why did you not say anything??
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now