April 2002
Beginner
413 pages
10h 46m
English
| 1: | How is event handling handled internally for a native C++ application? (Hint: Remove the __gc keywords and the namespace declarations from this hour's lesson.) |
| A1: | Native C++ event handling uses a linked list that stores function pointers for each event handler. It also creates a special function that, when called, walks through the list and calls each of those functions. |
| 2: | How is a delegate related to an event? |
| A2: | A delegate is another name for the event handler for that event. In other words, when a delegate is associated with an event, that delegate will be called when the event is fired. |
| 3: | How many function pointers can a delegate contain and how do you find out how many a certain delegate can call? |
| A3: | A delegate can contain more ... |
Read now
Unlock full access