A interface to access/receive data from/to mql in C++