Jump to content
RadStudio 10.3.1 was released today Read more... ×

Der schöne Günther

Members
  • Content Count

    28
  • Joined

  • Last visited

  • Days Won

    2

Der schöne Günther last won the day on January 22

Der schöne Günther had the most liked content!

Community Reputation

13 Good

Technical Information

  • Delphi-Version
    Delphi 10.0 Seattle

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Der schöne Günther

    How to properly detect name of exe (running app) in Windows 10

    What exactly is your question? You have a window handle (HWND) and you want to get the full path to the executable behind it?
  2. Der schöne Günther

    Complete Boolean Evaluation

    I am working on a legacy project which has it enabled. I did not dare to disable it, so all new units get a compiler directive to switch full bool eval off while you have to be extra careful and always keep in mind that full boolean eval is enabled when editing "old" units. Reason? I suppose there was none and "full Boolean evaluation" sounded better than "mediocre Boolean evaluation"
  3. Der schöne Günther

    FYI: Graph showing iOS crashes with recent Delphi versions

    It was some article that referred to a presentation from the early 90s, that's for sure. We once tried making a small application for iOS & Android, and yes, the application had so many fatal crashes with no way of debugging it that we finally gave up.
  4. Der schöne Günther

    FYI: Graph showing iOS crashes with recent Delphi versions

    Are there more information available about the crashes themselves? And didn't Delphi get famous by demonstrating how an unhandled access violation would just produce a messagebox and continued to work afterwards instead of bringing the whole app down?
  5. Der schöne Günther

    appending to a dynamic array

    The TStringHelper was designed for immutable strings. If I'm not mistaken, Strings on platforms such as iOS are immutable whereas they are still "copy on write" on Windows. All the TStringHelper methods return a new string instance.
  6. Der schöne Günther

    appending to a dynamic array

    Why would you consider it bad? The arguments are evaluated before calling SetLength(..), so Length(..) returns the length before it was resized High(someArray) is a simple lookup, the size is known
  7. Der schöne Günther

    ABI Changes in RAD Studio 10.3

    Absolutely. Interesting and entertaining to read. Please, more of those.
  8. Der schöne Günther

    Delphi, be better!

    I don't even want to estimate how much of my lifetime I have already spent on stuff like this. It's like the IDE does not want you to get your job done in time and is constantly putting spokes in your wheel 🤨
  9. Der schöne Günther

    Test Bits in a Byte

    I always found using System.Classes.TBits easier to use than raw bit operations... if myValue.Bits[3] then (...)
  10. Der schöne Günther

    Delphi Rio and tRegEx.Replace Problem

    Can't you just provide a simple test case with code that actually compiles, your input and your expected result?
  11. Der schöne Günther

    Embarcadero DocWiki for Rio

    (I am not sure if this should go to Off-Topic.) I am not sure Embarcadero intended this - The new DocWiki template for Rio has nice colours that look less depressing, but they've really overexaggerated the borders padding. Please take a look at the attached pictures for comparison. What would be the best place at Embarcadero to ask about this?
  12. Exactly. For regular user applications, you hopefully have a global exception handler that turns an exception object into something readable for the end user. Translating computer speech to text that is shown on screen does not belong into the backend code for handling license data and whatnot.
  13. But I don't understand - Isn't that just destructive? It throws away the additional information the default exception dialog would have shown you. It displays a generic message which is not helpful. A simple doSomething() is just better.
  14. That's not harmful, it's just unnecessary code. What really rustles my jimmies is something like this: try doSomething(); except ShowMessage('There was an error'); end;
  15. Der schöne Günther

    Delphi 10.3 | Windows: IFMXScreenService.GetScreenScale broken?

    This is just an idea, maybe it matters whether the executable is being debugged, started from IDE or started from explorer? Maybe it inherits some settings from its parent process (the IDE).
×