Jump to content

David Heffernan

Members
  • Content Count

    3737
  • Joined

  • Last visited

  • Days Won

    188

Everything posted by David Heffernan

  1. David Heffernan

    Shellexecute cmd.exe with spaces

    Pointless to ask ShellExecute to create a cmd process to in turn create another process. Create the other process directly. This is the source of all your problems.
  2. David Heffernan

    Strange thing in System.Generics.Defaults.pas

    Why not 10101010? Or 1010101010? Or 1010? Or 10?
  3. David Heffernan

    IDE Fix pack for Rio

    Assuming that the integration of IDE Fix Pack doesn't address compiler performance. Which it might. Or might not. Easy enough to compare 10.2 and 10.3 rather than guessing.
  4. David Heffernan

    IDE Fix pack for Rio

    You can't know that because IDE Fix Pack does not exist for Rio.
  5. @spwolf wix is what we use
  6. Does that do msi?
  7. David Heffernan

    Strange thing in System.Generics.Defaults.pas

    That value is as good as any other value. It just has to adhere to the rule that the same value is returned every time when the same input value is supplied.
  8. David Heffernan

    TEdit Android DecimalSeparator 10.2.3 VS 10.3

    No such thing as EU decimal behaviour. Different countries in the EU have different locale settings.
  9. David Heffernan

    Releasing memory devoted to arrays

    It is my experience that ignoring such defects in your code in the interests of saving time costs you more time in the medium term. It is my experience that putting off investing in learning debugging skills in the interests of saving time costs you more time in the medium term. I understand that your boss might not appreciate that.
  10. David Heffernan

    Releasing memory devoted to arrays

    This problem could readily be solved if you let us help you learn how to debug it.
  11. Perhaps I'm guilty of making assumptions. I presumed the RTTI was in a resource. Still always best to measure. FWIW I disable RTTI when I don't need it.
  12. Not really. The file is mapped into memory and then read from the disk when the virtual memory system encounters page faults. So if you don't use the RTTI it will never be read. Don't theorise about performance. Measure.
  13. David Heffernan

    Releasing memory devoted to arrays

    Heap corruption in code we can't see. Make a minimal reproduction.
  14. David Heffernan

    Delphi 10.3 TTimeSpan.GetScaledInterval Android

    Doesn't seem like that's a real solution.......
  15. David Heffernan

    ScaleMM2 with MARS: +70% performance boost :-)

    The point is that faster memory allocation treats the symptom rather than the cause. Such a large boost in performance implies that memory allocation is dominating execution time, at least in this benchmark. That in turn implies that reducing the amount of memory allocation could give far greater boosts.
  16. David Heffernan

    ScaleMM2 with MARS: +70% performance boost :-)

    Doesn't this suggest that reducing the amount of heap allocation would lead to much bigger gains?
  17. David Heffernan

    Impact of debug dcus on performance

    My point is not that it's a 32/64 bit issue. My point is that it could be a difference in the way the C code is compiled.
  18. David Heffernan

    Impact of debug dcus on performance

    Is it possible that the difference is due to the PCRE code being compiled with poor settings? Something similar to this: https://stackoverflow.com/q/27821277/505088
  19. David Heffernan

    Impact of debug dcus on performance

    My understanding has always been that debug dcus are compiled with optimisations etc. and so there should be no performance difference. Can you provide a cut down program that demonstrates the issue?
  20. David Heffernan

    Before you ask: GExperts for Delphi 10.3 is not ready

    Usually in this scenario one would prefer to get on with the job rather than spend time explaining the issues. I'm sure that if @dummzeuch would like some help he know how to ask.
  21. David Heffernan

    Solved: Application Run Check and bring to foreground

    You just have to extend the code to bring itself out of the tray as you say. Although strictly speaking it isn't in the tray and in fact the tray isn't even called that. It's a notification icon in the notification area. What you mean by being in the tray is that the main form is hidden, Visible is false. So you just need to show it. Presumably you already do that when the notification icon handles being clicked.
  22. David Heffernan

    Strange and Random Access Violations

    You write a zero byte beyond the end of the char array. Solve the problem by using Move to perform the copy.
  23. David Heffernan

    Graphics32

    GitHub is not a fork. That is the master repo.
  24. David Heffernan

    Graphics32

    What is XE10?
  25. David Heffernan

    Graphics32

    Why wouldn't you get the latest source from the repo?
×