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
There's only a few things left to do, as they say, solve a couple of cases.
This WinAPI is not for pros. This is the first time I'm working with it.
I'm stuck on 2 things.
1. How can I get back the line number by name from the Expert Advisor in ComboBox with a list of Expert Advisors?
I do it like this
I get zero, and that's it. The same thing I do in the program InqSoft Windows Scanner, it returns the number of the row.
Then I use the function
Everything works as it should, but I don't know how to get this number 12.
2. this is a problem with inserting the date. YuraZ, you seem to have explained, but I do not understand how to approach what you have explained. I can't figure out how to do it with a clicker either.
Help me finish running automated optimizer, I promise to send me the code, then I want to attach parsing of stored HTML and substitution of the results in the Expert Advisor. No problems with the latter, and the launch of the tester is a pain in the ass. I've learned how to place checkboxes in required places, how to click buttons, but I can't master the issue I've described.
After the completion and testing I want to make it into an article, I think for many people this feature will be useful, although not the fact that the developers will miss this information.
optionally
there is no need to count how many lines there are or else to bother
it is enough to search for our expert "our hero expert" in the list
logically, if you make a counter, you can also raise the number from the list
just find the top of the list and run down or find the bottom and run up
Thank you, I'll look into it further.
There's only a few things left to do, as they say, solve a couple of cases.
Help, guys, this WinAPI is not for pros. It's the first time I'm working with it.
The code is correct so it should work. I have this code works without any problems.
When an error occurs, the function usually returns -1, not zero. Maybe there is some error in the code.
Another way is to check the correct declaration of the SendMessageA() function to search for a string.
The last parameter should be declared as string. If it is left integer by default the compiler
will swallow the code without error, but the function will not work correctly.
The code is correct so it should work. I have this code works without any problems.
When an error occurs, the function usually returns -1, not zero. Maybe there is some error in the code.
Alternatively, you must check the correct declaration of the SendMessageA() function to search for a string.
The last parameter should be declared as string. If it is left integer by default the compiler
will swallow the code without error but the function will work incorrectly.
Try my code in your terminal, maybe my terminal or the library is screwed up.
My code for selecting an expert is identical to yours:
Here sExpertName is the name of the Expert Advisor as a string.
For the sake of purity of the experiment, I ran your code - everything works.
My expert selection code is identical to yours:
Here sExpertName is the name of the Expert Advisor as a string.
For the sake of purity of the experiment, I ran your code - everything works.
It's a strange thing... it's not working for me.
What Windows is it and what service pack?
Looked at the user32.dll library file on my computer and on the net and there are a bunch of different sized files.
Maybe my problem is that the library itself is crooked.
Ilnur, if it's not hard to post your version of the library here, I'll try to test with it.
Yuraz, and you managed to find and replace the function name by Ilnur's codes or mine, if not hard to post your library too.
Looked at the user32.dll library file on my computer and on the net and there are a bunch of different sized files.
Maybe my problem is that the library itself is crooked.
Ilnur, if you don't mind posting your version of the library here, I'll try to test with it.
Yuraz, and you found and substitute the name of the function in the codes Ilnur or mine, if not difficult your library also expose.
SP2 XPPRO
If you have a lot of software installed on your machine, anything can happen.
if the target OS is either a stable, proven small set of tasks or one
i.e. a lot of programs aren't constantly being run and a lot of things aren't being installed
as a rule there is no problem