This thread is very old but it appears on the first page of Google search result when searching about getting string from DLL. So I'd like to post my solution here to make it be easy for others. It's very simple. * C++: #define MT4EXPORT extern "C" ...