Any questions? Ask us: support@enigmaprotector.com

Problem with Delphi Function Se tDate Time Computer

Post here messages if you have any problems with working of Enigma Protector

Problem with Delphi Function Se tDate Time Computer

Postby IVANRIBEIRO » Sat Jun 09, 2018 7:17 pm

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!!
IVANRIBEIRO
 
Posts: 2
Joined: Sat Jun 09, 2018 7:10 pm

Re: Problem with Delphi Function Se tDate Time Computer

Postby Enigma » Wed Jun 13, 2018 8:02 am

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.
Enigma
Site Admin
 
Posts: 2330
Joined: Wed Aug 20, 2008 2:24 pm

Re: Problem with Delphi Function Se tDate Time Computer

Postby IVANRIBEIRO » Wed Jun 13, 2018 2:49 pm

Thank you!!!
IVANRIBEIRO
 
Posts: 2
Joined: Sat Jun 09, 2018 7:10 pm


Return to Problems

Who is online

Users browsing this forum: Google [Bot] and 26 guests