WORKING WITH FILES

 

Hello, i am trying to work with files but i must be having an issue with either storage or access of the file i want to work with.

Attached is a binary file, holding an array, and the expert code that i am using to read the array and print it out

the location of the file on my local computer is: \tester\files\ 

 every time i want to print out the in information on the array, it returns a 0. note that iv added code to tell me of any errors the code may have but i do not receive the error number. therefore the 0 is what is being seen...though, there is information in th array. it is not empty.

 

Also attached is the code i am using to write the array to file, there could be an issue there that i just cant see.

 

HOWEVER! this issue is only being experienced on a windows machine, on a linux machine running the wine application, i am able to access the file, open and read it.

 

WHAT COULD THE ISSUE BE?

 

IM SORRY THE BINARY FILE IS NOT SUPPORTED IN THE UPLOADS BUT ITS NAME IS "trials" CAN CREATE ONE AND TEST. MY TEST PERIOD FOR FILLING THE ARRAY IS AUG 29TH 2014 ON A 5 MIN CHART EURJPY. 

so that is my main issue.

Appreciate the help.

Nduru 

Files:
READ1.mq4  2 kb
QFX1.mq4  3 kb