Download MetaTrader 5
To add comments, please log in or register
Find out the latest MQL5.community news!
whroeder1
14230
whroeder1 2016.08.23 16:55  
wemersonrv: Because user that runs MetaTrader, has low privileges and need to be Admin!!
That you should have known. SetLocalTime function (Windows):
The calling process must have the SE_SYSTEMTIME_NAME privilege. This privilege is disabled by default. The SetLocalTime function enables the SE_SYSTEMTIME_NAME privilege before changing the local time and disables the privilege before returning. For more information, see Running with Special Privileges.
/ /12
To add comments, please log in or register