Solved

How to do message notification in a class?

Posted on 2000-04-10
3
134 Views
Last Modified: 2010-04-04
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
Comment
Question by:Probie
  • 2
3 Comments
 
LVL 20

Accepted Solution

by:
Madshi earned 70 total points
ID: 2703028
Look at the VCL sources of TTimer, there you can find how Borland solved this problem.

Regards, Madshi.
0
 
LVL 1

Author Comment

by:Probie
ID: 2805254
Hmm... I'm tired to waiting on this answer... you got the points
0
 
LVL 20

Expert Comment

by:Madshi
ID: 2805276
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question