Solved

How to do message notification in a class?

Posted on 2000-04-10
3
133 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 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