Delphi Programming Question:

How does Delphi handle Windows callbacks?

Tweet Share WhatsApp

Answer:

Just like C: You can get a far pointer to your callback procedure (you have to remember to declare it with the "far" qualifier, unless you have {F$+} in effect to force all calls to be far), pass the pointer to the Windows callback function, and there it is.

Download Delphi PDF Read All 31 Delphi Questions
Previous QuestionNext Question
How does Delphis exception handling work?When I use the Glyph property, how do I know which color is transparent?