This sample demonstrates the use of transaction logging iteration using the
MCO_TRANSLOG_DUAL_OUTflag which makes it possible to copy the log to a file while it is also transferred via a pipe and iterated by a reader application. The log file saved in this manner may be used to restore the database in case of an application failure or to iterate the log once again by a reader application using functionsmco_translog_iterate()and/ormco_translog_play().
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:tlogiterdualoutBut it is more instructive to run it in your development environment debugger, stepping through the code.