C++ version of the Enfotrace Delphi written Data Logger