Jump to content

Der schöne Günther

Members
  • Content Count

    743
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by Der schöne Günther

  1. That might actually be possible. Accidently pressing F7 and then like "Uh, where am I?"
  2. I'd not be surprised if Jamie didn't even know about the DPR file. How would you stumble across it, anyway? Right-clicking the project node and then finding "View Source" among two dozen other entries is not the most intuitive choice. I wish I still remebered how I first found it...
  3. Der schöne Günther

    Has anyone tried "DelphiLSP" for Visual Studio Code yet?

    For your reference, here is the official Embarcadero documentation: Using DelphiLSP Code Insight with Other Editors - RAD Studio (embarcadero.com)
  4. Der schöne Günther

    Delphi Compilers - # lines of code

    Linux is a compiler? 🤔
  5. Der schöne Günther

    code completion?

    After our last endeavour with C++ Builder (see here: Does C++ Builder have code completion? - General Help - Delphi-PRAXiS [en] (delphipraxis.net)), we switched to VS Code. Have absolutely not regrettet it, and it's free.
  6. Der schöne Günther

    Herb Sutter on C++20

    I really enjoyed the video. What a great speaker.
  7. Der schöne Günther

    Herb Sutter on C++20

    Thank you for the video. I have recently picked up a C++ project and I actually enjoy it. But to be honest, I would rather build a big monolith app in Delphi than in C++.
  8. Der schöne Günther

    Delphi compatibility with Windows 11?

    When you don't have hardware accelerated graphics (in your VM), that's just how it looks. No transparency effects, rounded corners and that kind of stuff. The basic rendering, however, is the same.
  9. Der schöne Günther

    Unit testing for beginners

    I also find unit tests are a great way to start getting familiar with foreign code. Like libraries from 3rd parties or your own company. You're new to it, you don't really have a feeling for it yet. So before just straight out using the code in your real life application, why not start with a few unit tests so you know you can trust it for your use cases? Maybe you can even contribute the tests back.
  10. Der schöne Günther

    Strategies for minimizing app start time

    Use a profiler to find out what takes time and fix those parts 😎
  11. Der schöne Günther

    UAC request minimized instead of full-screen

    It is what happens when the application that called ShellExecute did not provide a HWND of a foreground window. What is the value of your hndCaller ? Maybe you passed something like Application.Handle? Compare to GetForegroundWindow - Is your value the same?
  12. Der schöne Günther

    RAD Studio 11 Alexandria Patch 1 Available

    About backporting: They did some of it around the time of XE8 / 10.0 Seattle, but not much after that, as far as I recall. https://community.embarcadero.com/article/technical-articles/16439-fall-2016-xe8-and-10-seattle-updates Here is an example of a pretty serious bug in System.Generics.Collections that never got backported. Thread includes comments from Marco Cantu why it didn't get backported. [RSP-13196] TQueue<TBytes> doesn't add elements - Embarcadero Technologies But I honestly cannot see anywhere that something like that was ever promised or sold. Of course it would be nice, but I can't really blame them, we also don't do backports in our software 😏
  13. Der schöne Günther

    UAC request minimized instead of full-screen

    Is it just "your machine" or also others (virtual machines / Windows Sandbox)?
  14. Der schöne Günther

    UAC request minimized instead of full-screen

    Be sure to supply your foreground window's handle to ShellExecuteEx. Source: Sertac Akyuz, StackOverflow.com
  15. I'd have expected your method to return a Boolean for indication whether something has been found, and the out parameter can be used (your "IsValid"). An unsuccessful search isn't that out of the ordinary, so an exception is not appropriate. I also don't see that the first is an anti-pattern. Loop control with break and continue is perfectly fine. Did I miss something?
  16. Der schöne Günther

    YouTube playback & control using WebView2 on Delphi 7

    Evaluation versions do not come with source code, and the Community Edition with "limited" RTL source code (whatever that means). Your understanding of "borrowing" however even seems even weirder.
  17. Der schöne Günther

    Reinstalling Delphi 10.4 after PC Crashed

    Fixed that for you
  18. Der schöne Günther

    Delphi Package Manager - choices?

    Different VMs 😎
  19. Der schöne Günther

    Menu captions with images are hard to read under Windows 11

    All Windows 11 menus look like this. I have no idea what they were thinking.
  20. Der schöne Günther

    Installer (Innosetup) - welcome page yes or no?

    Just a side note: For classic setups, I always untick "Start application" because those installers usually run with elevated permissions and will then also start the application elevated.
  21. Der schöne Günther

    Installer (Innosetup) - welcome page yes or no?

    I don't have installers, but I think there's nothing wrong with that. It's not like you have to introduce your program, the user has already decided to install. The welcome page they use for their example makes no sense, because it provides absolutely no information. Same like "Setup has now finished" you sometimes see. By the way: Compare with this totally stripped down MSIX install experience on Windows:
  22. Der schöne Günther

    The future of Delphi

    Although the multi-platform approach never appealed to me, it still sounds terribly interesting. Do you have a reading recommendation (a presentation video is fine too) that explains their general approach?
  23. Der schöne Günther

    How to manage feature changes during release cycle?

    I would absolutely agree unless @Mike Torrettinni also used a new feature as a motivation to drastically refactor parts that now needed bugfixing.
  24. Der schöne Günther

    How to have Live vertical scrolling of TDBGrid

    You can make a fancy looking TListView and fill it yourself.
  25. Der schöne Günther

    Is it possible to see Git current working branch in IDE?

    Sure. You can also click it to quickly check out some other branch/tag. I haven't tried the VS Code integration in Delphi 11 yet, maybe that makes it even more appealing.
×