This sample demonstrates asynchronous events with a shared-memory database together with the async native sample.
In a console window, run:
AsyncManagedThen, in a second console window, run:
async_nativeIt is more instructive to run one instance in your development environment's debugger and step through the code.