|
CAsyHandler<T> Class Overview template <class T> class CAsyHandler : public T One of advantages using asynchronous processing is to enable methods to return immediately without blocking on the calling thread. It is particularly beneficial to GUI development when a big rowset or URL binding is involved. However, it is difficult to use the asynchronous processing. Furthermore, most of OLEDB providers don't enable asynchronous processing. OleDBPro provides a template to generically handle asynchronously processing various OLEDB objects based on the interface IDBAsynchStatus. To correctly use the template, you may need to read through the Chapter 17 of OLE DB Programmer Reference in the platform SDK/MSDN. Template parameter T can be one of CODataSource, COSession, CRBase, CORow and COStream based classes or templates. For how to use the template, see the example AsyNotify. |