Hi folks,
A lot of people asked me and metaquotes forum about file handling functions.
I think MT4 have a lot of bugs in those functions.
1- They don't work in backtesting
2- They don't write outside "MetaTrader 4\experts\files" path.
Today I opened my Visual C++ and wrote a file handling dll for MT4, I hope you enjoy it, and its source code, and tell me your.
Setup:
1- Extract the "mtguru1.dll" to "MetaTrader 4\experts\libraries" path.
2- Extract "FilesDemo.mq4" to "MetaTrader 4\experts\indicators" path and compile it.
3- Extract "gFiles.mqh" to "MetaTrader 4\experts\include".
4- Load FilesDemo from your Indicators - don't forget to enbable "Allow DLL Import"
5- Enjoy.



2Likes
LinkBack URL
About LinkBacks
.



!
Reply With Quote
, but file functions (as well as many other) may be used directly from windows API dlls.

Bookmarks