Page 1 of 1

Problem with Delphi Function Se tDate Time Computer

Posted: Sat Jun 09, 2018 7:17 pm
by IVANRIBEIRO
We have a function to change computer system date time with Delphi
But we dont understand why after protect the executable the function dont works

Thats the function:

procedure TDmPrincipal.SynchronizeDh;
var
SystemTime: TSystemTime;
begin
FDhSynchronized := False;
DateTimeToSystemTime(GetCurrentDateTime, SystemTime);
FDhSynchronized := SetLocalTime(SystemTime);
end;

Its possible to be any influence of Enigma. Because the function use Windows API SetLocalTime function?

Thank you all folks!!

Re: Problem with Delphi Function Se tDate Time Computer

Posted: Wed Jun 13, 2018 8:02 am
by Enigma
Hi, Enigma does not affect these functions at all, very strange that it behave so.

If you can make a test application for us, please send it (non protected) at support@enigmaprotector.com, we will check it out.

Please also test the same app on another computer, maybe this is something PC specific.

Re: Problem with Delphi Function Se tDate Time Computer

Posted: Wed Jun 13, 2018 2:49 pm
by IVANRIBEIRO
Thank you!!!