1. Computing

Understanding and Using Windows Callback Functions in Delphi

By December 3, 2012

Follow me on:

in Advanced Delphi :: To call most API/DLL functions from Delphi, you write a function that calls the API function, and you're done. In some cases, however, system needs to call an application-defined function in response to events generated by an API call.

Simply put, a callback function is a routine in your program that Windows calls. More generally, a callback is a means of sending a function as a parameter into another function. When the callback function has completed, control is passed back to the original function.

Read the full article to learn how to use Windows Callback Functions in Delphi code

Related: Listing Windows Processes | How to Build your First 'Hello World "Virus"' | Browse for Computers, Folders, Files and Printers

Comments are closed for this post.
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.