Blog Archive

Diberdayakan oleh Blogger.
PARSE TOP ADSENSE 728X90 IN HERE

If you can't see this email, click here

About.com


9. Monitoring Registry Changes
Zarko Gajic
From Zarko Gajic, your Guide to Delphi Programming
Need to get notified about changes to the attributes or contents of a specified Registry key?
How to monitor the Registry?
It's *simple*, the Windows API function RegNotifyChangeKeyValue is capable of notifying the caller (your "Delphi code") about changes to the attributes or contents of a specified registry key


Creating the Thread class for Registry monitoring
Before we start adding code to a sample Delphi project capable of monitoring Registry changes we have to create a new thread object - the one that, in a loop, waits for a change to happen.

Sample Delphi Registry monitoring application
Since we now have developed a thread that monitors the Registry and listens to specified changes, let's see how to call the monitoring code from a Delphi project.


This email is written by:
Zarko Gajic
Delphi Programming Guide
Email Me | My Blog | My Forum
 
Missing a lesson? Click here.

About U. is our collection of free online courses designed to help you learn a new skill, solve a problem, get something done, or just learn more about your world. Sign up now, and we will email you lessons on a daily or weekly basis.
You are receiving this email because you subscribed to the About.com 'Email Course: Shell Programming with Delphi' email. If you wish to unsubscribe, please click here.

About respects your privacy: Our Privacy Policy

Contact Information:
249 West 17th Street
New York, NY, 10011

© 2010 About.com
 

Advertisement

ADSENSE 336X280 BELOW POST CONTENT IN HERE

0 komentar