DLL error in FFCal.ex4

 

Hi guys,

When I recompiled FFCAL.mq4 (news indicator) under build 600 I am getting this error:

2014.02.07 11:22:39.207 stack damaged, check DLL function call in 'FFCal.mq4' (1511,17)

Apparently build 600 messed up the DLL call to wininet.dll (#import "wininet.dll"). Seems to work fine if you use the old FFCal.ex4. I am sure a lot of users will have this issue.

Does anyone know how to solve it?

Many thanks


 
bennyHanna:

Hi guys,

When I recompiled FFCAL.mq4 (news indicator) under build 600 I am getting this error:

2014.02.07 11:22:39.207 stack damaged, check DLL function call in 'FFCal.mq4' (1511,17)

Apparently build 600 messed up the DLL call to wininet.dll (#import "wininet.dll"). Seems to work fine if you use the old FFCal.ex4. I am sure a lot of users will have this issue.

Does anyone know how to solve it?

Many thanks


About WinInet. See if this topic can help you : https://www.mql5.com/en/forum/149321
 
All strings become Unicode so you have to call InternetOpenW instead of InternetOpenA