Example AsyNotify:

        OLEDB notification is very useful for multiple threads programming and communication among these threads. OleDBPro provides a template CTNotification<T> to handle all of OLEDB objects notification. Additionally, OleDBPro presents a template CAsyHandler<T> to simplify OLEDB asynchronous processing. This example is specifically designed to show you how to do following tasks.

  1. How to implement sink interfaces IRowsetNotify, IDBAsynchNotify, and IRowPositionChange.

  2. How to declare objects which can do both notifications and asynchronous processings.

  3. How to open and initialize various OleDBPro objects asynchronously.

  4. How to check the status of an asynchronously executing operation.

Goto the list of examples