It is clear that there is an export def function. It is clear that the dll should lie where necessary. It all works as it should.
The problem is only in the output of Russian characters, see the code mql4
Print("test "+num+" (вот этот русский шрифт не импортируется в С++)"); Side dll, cpp
void logW(const wchar_t *text) { static bool first = true; if (FILE *file = fopen("log.txt", first ? "w" : "a")) { first = false; fwprintf(file, text); fwprintf(file, L"\n"); fclose(file); } } Can I make a display of Russian text?