I'm programming a game and recently switched to Delphi 10.2. FPS dropped. After searching for some time I think it is becasue of TForm paint speed.Here is my test:1 Created a new Multi-Device application.2 Put a TTimer on it.3 Timer interval set to 1...
Is there a more secure way to pass parameters to a query?
TFDQuery(Qry).SQL.Add('select * from table where id= :id');
// option 1
TFDQuery(Qry).Parambyname('id').AsFloat := valueFloat;