This sample demonstrates Dynamic DDL with the use of flags
MCO_TRANSLOG_ITERABLEandMCO_TRANSLOG_PIPEto transfer the log through a pipe to another thread or another application and iterate the log on the reader side. (Note the use of runtime optionMCO_RT_OPTION_MARK_LAST_OBJwhich makes an additional call to the user defined callback indicating that the current transaction has completed.)
See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the
\target\bindirectory:tlogiterpipe_ddlBut it is more instructive to run it in your development environment debugger, stepping through the code.