Delphi Programming Question:

How does Delphi handle Windows callbacks?

Delphi Interview Question
Delphi Interview Question

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.


Previous QuestionNext Question
How does Delphis exception handling work?When I use the Glyph property, how do I know which color is transparent?