this code crashes the EA with the message: Access violation write to 0x00000020 in '(...)EA.ex4'. WTF?
string filename=NULL;
string search="*";
long handle=FileFindFirst(search,filename,FILE_COMMON);
while (handle!=INVALID_HANDLE)
{
handle=FileFindNext(handle,filename);
}
FileFindClose(handle);
When FileFindNext() is executed 3rd time, the debugger stops. It happens with every search mask. I cannot trace the problem.
Of course I reported this to the service desk, but my last answer there is 3 months ago. Senseless in most cases. Maybe someone had the same problem and has an idea.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hey there,
this code crashes the EA with the message: Access violation write to 0x00000020 in '(...)EA.ex4'. WTF?
When FileFindNext() is executed 3rd time, the debugger stops. It happens with every search mask. I cannot trace the problem.
Of course I reported this to the service desk, but my last answer there is 3 months ago. Senseless in most cases. Maybe someone had the same problem and has an idea.
Thanks in advance
Doerk