You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
You may use _wfopen function to open file with "wchar_t *" type filename.
And this is my code:
And it is a simple VC++ DLL project, no .def file required.
Can you show the mql5 test code also ?
Sure, the code is very simple.
After running the above mql5 script program, a "test.txt" file will be generated at the installation folder of MT5.
If we specify an absolute path, for example, "d:\\test.txt", the file will be created right there.
You may use _wfopen function to open file with "wchar_t *" type filename.
And this is my code:
And it is a simple VC++ DLL project, no .def file required.
thank you very much!!!
It's work!!!
So the string in metatrader is UNICODE!!!!!!, if you use char in the dll ,the program couldn't work normally
It‘s very interesting!!!!
At the first time , I realize the value of Unicode.
I met the trouble for two months ,but now it's not a problem .thank you !