Download MetaTrader 5

file exist win API

To add comments, please log in or register
Freelance service: the safe way to order a trading robot. Try it!
maria-2014 2014.02.27 10:27 


my friends i need other function win API about file exist or no Kernel32 or other i do not want FileIsExist mq4 5 function

please help me

Ex Ovo Omnia
Ex Ovo Omnia 2014.02.27 10:44  

I would use GetFileAttributes - if INVALID_FILE_ATTRIBUTES is returned, still the file may exist, so check if the error GetLastError returns ERROR_SHARING_VIOLATION.

maria-2014 2014.02.27 10:56  

thank you Ovo

yes GetFileAttributes please give me an example or way for use it with mq4 langage

thank you

To add comments, please log in or register