Hour 19

1: How are a managed event and a kernel object event different?
A1: Managed events do not use operating system–specific objects. Any object can create and fire managed events, but kernel object events require the use of a certain object that must be signaled in order for that event propagate to appropriate handlers.
2: What happens to a thread if it is in the Stopped state and is restarted with a Start function call?
A2: Your application will throw an exception. Once a thread is in the Stopped state, it cannot be restarted.
3: What is the difference between a thread delegate and a thread callback function used in the WIN32 API? What advantages does the delegate method give you?
A3: Thread delegates are contained within the class scope they ...

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.