Home > Back-end >  Only a strange phenomenon, as long as using the Random function in the program, although it compiles
Only a strange phenomenon, as long as using the Random function in the program, although it compiles

Time:11-07



As long as using the Random function, compile but born into exe, the system will be mistaken for a virus,

Encounter this problem?

System is Win10 Windows Defender is open,

CodePudding user response:

Measured without this kind of situation, may also have a Trojan, your system does exist, only compile don't try to run

CodePudding user response:

A compiler also not line, have become a exe,

CodePudding user response:

The exe files deleted, try again, I met, exe deleted can be recycled into

CodePudding user response:

This is normal, few serious of antivirus software

CodePudding user response:

Used Delphi when encounter similar problem, estimates that conforms to the characteristics of the virus code is compiled program, then seemed to code in order to do some adjust,
You have a problem in the test under the code before or after add such as: iVal: try=0 and so on,

CodePudding user response:

The
refer to the original poster mau mau reply:


As long as using the Random function, compile but born into exe, the system will be mistaken for a virus,

Encounter this problem?

System is Win10 Windows Defender is,


False positives, such as soft very normal

CodePudding user response:

Is not generated EXE, but generated by virus software as soon as cleared,
Change the 100000 to variable to the incoming, to change the code sequence, such as:
Var
VTmp: Integer;

VTmp:=100000;
Edit1. Text:=inttostr (random (vTmp));

CodePudding user response:

Kill your exe file into the soft trust list.
  • Related