FileSeek error 5035

JamesWoods  

Hi

 I am testing mql5 csv file manipulation. Created csv file and did 

 FileSeek(in_iCsvFileHandle,0,SEEK_END);

Seek to end of file 

And am getting error 5035 with message  = String length is less than expected.

file is opened with flags

 int lc_fileFlags = FILE_CSV | FILE_COMMON | FILE_WRITE |FILE_READ| FILE_SHARE_WRITE | FILE_SHARE_READ ;


Any help much appreciated 


thanks

Lorentzos Roussos  
JamesWoods:

Hi

 I am testing mql5 csv file manipulation. Created csv file and did 

Seek to end of file 

And am getting error 5035 with message  = String length is less than expected.

file is opened with flags


Any help much appreciated 


thanks

Hello , are you trying to create an excel connection ?

the errors page files it under "string casting" , are you sure its about the file ? (i could be wrong though)