Please read manual closely
===
The function returns the last occurred error, then the value of special last_error variable where the last error code is stored will be zeroized. So, the next call for GetLastError() will return 0.
===
===
The function returns the last occurred error, then the value of special last_error variable where the last error code is stored will be zeroized. So, the next call for GetLastError() will return 0.
===

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
I have the created the following code, and wanted to ask if I had dealt with Error codes in the correct way, in relation to order execution. I want to make sure that by using the following code below that I will not get any problems or bugs. Here is the code I am referring to:
Is the above code ok ? Or can you see a potential problem occuring with way i have dealt with different errors ?
Thank you in advance. I am always very grateful for your help.
Regards
RJF