Workshop

The Workshop provides quiz questions to help solidify your understanding of what was covered in this hour. Answers are provided in Appendix A, “Quiz Answers.”

Quiz

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.)
2:How is a delegate related to an event?
3:How many function pointers can a delegate contain and how do you find out how many a certain delegate can call?
4:How would you go about implementing your own Invoke function within a delegate class?

Get Sams Teach Yourself Visual C++® .NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.