Does anyone know how to use the GetSystemTime() function from kernel32.dll ?

Back to topics list  | 1 2 To post a new topic, please log in or register
avatar
12995
WHRoeder 2016.08.23 18: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.

Back to topics list   | 1 2  

To add comments, please log in or register