ZMP preview generator works in C++