Jump to content

raj_delphi

Members
  • Content Count

    6
  • Joined

  • Last visited

Everything posted by raj_delphi

  1. Hi, I'm using multiple panels in my main form, each panel holds different controls. Also, each panels are aligned with alClient, alright, alleft. I'm using TRzSplitter to expand the panels. Once I expand the panel using splitter (say modifying the layout) and minimizes the main form and reopen it again, then the panels are re-aligned to it default size. It is not retaining the modified one. Note: I'm using Delphi 10.4.
  2. Hi, My application required to enable SafeSEH and CFG flags for the security vulnerability issue, is it possible to enable the same? If yes, How? I have followed this https://blogs.embarcadero.com/rad-studio-11-1-and-windows-pe-security-flags/ for ASLR, DEP flags.
  3. I just used added the line in Delphi project file. {$SETPEOPTFLAGS $4000}
  4. {$SETPEOPTFLAGS $4000} this command enabled the CFG... Thank you so much!
  5. How to set the affinity for TOmniThread/TOmiTaskControl, it is keep on resetting the default affinity value (utilizing all CPU's). I tried setting Environment.Process.Affinity.AsString, but this value also keep on changing to default (255), it is happening when the OmiThread starts, I see it have many properties to set the affinity, but I'm not sure how to set it.
  6. raj_delphi

    How to set omnithread affinity?

    This issue has been resolved by setting <TOtlthreadPool>.Affinity.AsMask = <affinity value>, by setting this whenever the OTLThreadPool starts is SCHEDULE, the assigned affinity take in place. and this is not resetting the system affinity as well (which I set during the start of the program)
×