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.
I am making an EA and it automatically starts tester.
I found the "Start" Button's handle from Microsoft Spy++
I use this route :
1. get the Chart's handle
2. Get the terminal's Handle ("GetAncestor")
3. hwnd=FindWindowExW(hwnd,0,"AfxControlBar140s","터미널") // Terminal
4. int hwnd1=FindWindowExW(hwnd,0,TesterAfxName,"테스트") // Tester
and so on..
but I am using "TesterAfxName" variable because Tester's class name is changed often.
Can I found the Start Button's handle without changing TesterAfxName variable?