Jump to content

Lars Fosdal

Administrators
  • Content Count

    3504
  • Joined

  • Last visited

  • Days Won

    115

Everything posted by Lars Fosdal

  1. Lars Fosdal

    Having fun with Delphi

    @Attila Kovacs What about System.IOUtils.TPath.Combine?
  2. I pay an arm and a leg for WordPress' own hosted version for https://larsfosdal.blog so I that wouldn't have to think about these things. I wonder if that also leaks these things?
  3. Lars Fosdal

    Common callback functions, or not?

    @Dany Marmur Unless they added new warnings in 10.4, they do not? It is perfectly legal to capture a variable or property whose content may change during execution, while you wanted to capture a specific value of that variable or property. It is easy to miss. The workaround is to always assign that variable to a local variable that you reference in the anon method.
  4. Lars Fosdal

    Common callback functions, or not?

    I like anon procs too - but unfortunate variable captures can be easy to miss.
  5. https://www.crystalnet-tech.com/RuntimeLibrary/RuntimeLibrary4Delphi Have any of you tried this lib?
  6. Lars Fosdal

    LiveBindings question

    I don't use LiveBindings, but intuitively that doesn't strike me as something that I would do in a data change driven event? But - then again, I don't use LiveBindings.
  7. Lars Fosdal

    CrystalNet - .Net Runtime Library for Delphi

    Yeah, I wondered about that one too. Maybe it is just smoke and mirrors...
  8. I think I have seen at least four posts about this issue, so here is a sticky.
  9. My bad. Tokyo of course. Still valid for W7SP1. It does look like something on your PC. If you have a good workstation with Windows 10 Pro, you can enable Hyper-V and easily run a Windows 7 installation in a VM. Having Checkpoints when you are happy with an installation allows you to quickly roll back if something breaks.
  10. Lars Fosdal

    Outdated Delphi Roadmap

    Give me patience. NOW!
  11. 10.2 = Berlin - and it is supposed to work under Windows 7 Service Pack 1 However - I am pretty sure that Berlin didn't change two months ago. As far as I can remember, the folder that File Open uses has always followed the file you currently have in front in the editor . There is one exception: if you have the welcome page in front, the directory appears to be the directory of the most recently opened project.
  12. Lars Fosdal

    CrystalNet - .Net Runtime Library for Delphi

    Just wondering how they do it. Seems they have a .NET Core lib in the works as well.
  13. Lars Fosdal

    RS232 component

    https://github.com/TurboPack/AsyncPro ?
  14. Lars Fosdal

    MiTeC DFM Editor 8.0.0

    This could be an interesting companion to VS Code with OmniPascal.
  15. https://larsfosdal.blog/2020/10/16/post-a-message-to-teams-from-delphi-using-webhooks/
  16. TRESTClient is supposed to be in the Professional SKU. The SO link I posted explains how to fix the exception for 10.2.
  17. Isn't Indy in the Pro version?
  18. Lars Fosdal

    Login to Quality portal

    I logged in and was not asked to do deal with a captcha.
  19. Googled a bit: https://stackoverflow.com/questions/42096402/eipabstracterror-while-creating-delphi-trestclient
  20. Is https://limelect.com the URL you tried? The URL you use, must be the webhook URL you have configured in your Teams channel. In your MS Teams team, select the desired channel, and click on Connectors from the ••• menu. In that channel you must define an Incoming Webhook.
  21. @limelect I removed the other post. I don't have 10.2 so I can't check if I see the same error. Did you get this error in a bare bone test project, or in a bigger project?
  22. Make sure that any unit or resource path in the project has a relative path and/or use internal environment variable overrides. That enables you to safely copy the project folder to a new folder. If you are going to copy/paste a form from an old project to a new project - why rename the form at all? Can't the form be reused or be made to be reusable?
  23. The interesting part is that there is still room for improvement - and if it is a significant one - it will have huge implications.
  24. Spotted one challenge with TRESTClient. No easy way to override the flags to ObjectToJsonString.
×