You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
...However, that script should still work for retrieving short server responses such as the results of a licensing query. It's only got issues if the size of the server's response exceeds 1KB-ish.
Thanks, this worked perfectly!
Hi thili55,
Can you help us and post your solution for getting the grabWeb() to work with build 600? I think a lot of people would be interested in having FFCal working with build 600.
Many thanks
Can you help us and post your solution for getting the grabWeb() to work with build 600? I think a lot of people would be interested in having FFCal working with build 600.
See the post which thili55 is replying to - but note that there currently seem to be string-handling issues in v600 which may affect downloading as much data as the FF calendar.
Thanks for your reply. So we will need to wait for a fix of v600 before devising a solution for grabWeb correct? Or was a fix provided in v603?
Thanks for your reply. So we will need to wait for a fix of v600 before devising a solution for grabWeb correct? Or was a fix provided in v603?
Here is the GrabWeb function updated to run on v600. It now uses InternetOpenW and InternetOpenUrlW and the conversion of unicode. It does get the XML files OK but the files all have NULL data. See the Print statement for StrWebPage in the code. If you look at the outputted data it is garbage while strThisRead has valid data. Can someone have a look and see if they can spot a fix? It follows the fix on this thread: https://www.mql5.com/en/forum/149360
Just copy and paste the code in your FFCal.mq4 and compile with v600 MT4 and run (please edit out the items that do not belong in your version so that it compiles).
i try to make a GRABWEB script
very Simple.. and works fine in build 604
i try to make a GRABWEB script
very Simple.. and works fine in build 604
May I ask how you are overcoming this compiling error with v604 for this line of code:
InternetReadFile(HttpRequest, Buffer, StringLen(Buffer), read);
Error: 'Buffer' - parameter conversion not allowed
Please check your MT4 version and try again!
May I ask how you are overcoming this compiling error with v604 for this line of code:
Error: 'Buffer' - parameter conversion not allowed
Please check your MT4 version and try again!
There is no such error on my v604 and v600 with this program no errors and no warnings the file was downloaded correctly
i try to make a GRABWEB script
very Simple.. and works fine in build 604
May I ask how you are overcoming this compiling error with v604 for this line of code:
Error: 'Buffer' - parameter conversion not allowed
Please check your MT4 version and try again!
may be you using u char
in my script i using string