MQL5 WindowHandle() error message -> (function not defined)

 

Why is this function not defined?

if i try to compilere the file i get that error, but in the mql5 book they show this function WindowHandle()?

 
UserMQLSite:

Why is this function not defined?

Because there is no such function in mql5 !

if i try to compilere the file i get that error, but in the mql5 book they show this function WindowHandle()?

Really, where ?
 
Problem while converting mql4 script to mql5, WindowHandle?
Problem while converting mql4 script to mql5, WindowHandle?
  • 2017.07.04
  • www.mql5.com
I tried to compile the following mql4 code in mt5 Metaeditor and get the following error 'WindowHandle' - function not defined...
 
Alain Verleyen #:
Because there is no such function in mql5 !
Really, where ?

https://www.mql5.com/en/forum/207447

Problem while converting mql4 script to mql5, WindowHandle?
Problem while converting mql4 script to mql5, WindowHandle?
  • 2017.07.04
  • www.mql5.com
I tried to compile the following mql4 code in mt5 Metaeditor and get the following error 'WindowHandle' - function not defined...
 
WisyB #: https://www.mql5.com/en/forum/207447 Why not working?
That is MQL4 code, not MQL5 code!
 

As stated ... "Because there is no such function in mql5".

MQL4 and MQL5 are different.

 
See also
          Migrating from MQL4 to MQL5 - MQL5 Articles № 19 (2010)