linearity:
Have you tried using the Unicode version of your DLL based function ?
Hi guys,
Can anybody help me out?
I used to have an EA that make use of kernel32.dll's CreateFileA & WriteFile function to output a textfile to my desktop. It was perfectly working before build 600. After the patch, the EA could not output the textfile anymore. I understand that FileWrite() function will only output the textfile to \MQL4\Files folder which is not what I wanted.
I think the kernell32 method was from https://www.mql5.com/en/articles/1540 and is outdated? Is there any other way of creating textfile in desktop?
linearity:
I think the kernell32 method was from https://www.mql5.com/en/articles/1540 and is outdated? Is there any other way of creating textfile in desktop?
I think the kernell32 method was from https://www.mql5.com/en/articles/1540 and is outdated? Is there any other way of creating textfile in desktop?
Google is your friend . . .
From here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v=vs.85).aspx
Unicode and ANSI names |
CreateFileW (Unicode) and CreateFileA (ANSI) |
---|

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
Hi guys,
Can anybody help me out?
I used to have an EA that make use of kernel32.dll's CreateFileA & WriteFile function to output a textfile to my desktop. It was perfectly working before build 600. After the patch, the EA could not output the textfile anymore. I understand that FileWrite() function will only output the textfile to \MQL4\Files folder which is not what I wanted.