C++ code for the Society Pro executable module