Solved

How to do message notification in a class?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Thread safe  opinion 7 126
Copy file in dll not working but working on exe ! 18 87
Mydac connection data base issue 3 135
Send message from delphi to whatsapp, is it possible? 3 1,143
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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now