Tag: Development

Community

Asynchronous Device Operations

(Jeffrey Richter) In my last column, I demonstrated how to implement two base classes, AsyncResultNoResult and AsyncResult. Both of these classes implement the IAsyncResult interface, which is at the core of the common language runtime (CLR) Asynchronous Programming Model (APM). In this col

Community

Handling Messages in Console Apps

(Stephen Toub) I’m using a Win32 API through P/Invoke. The API supports asynchronous operations and provides a callback mechanism that notifies me when the operation has completed. However, unlike other APIs I’ve dealt with that provide similar functionality, this API doesn’t accept a function poin