file exist win API

 

hello

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

 

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.

 

thank you Ovo

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


thank you