Jump to content

Lars Fosdal

  • Content Count

  • Joined

  • Last visited

  • Days Won


Lars Fosdal last won the day on April 18

Lars Fosdal had the most liked content!

Community Reputation

1224 Excellent


Technical Information

  • Delphi-Version
    Delphi 10.4 Sydney

Recent Profile Visitors

3170 profile views
  1. I'd watch the video... and rant about it afterwards 😉
  2. Anyways, ARC has gone the way of the Dodo. Free(AndNil) it is.
  3. Just .DisposeOf's... and the reoccuring questions about why objects doesn't self-destruct (after you have intentionally or unintentionally made references that keeps it alive.
  4. I use FreeAndNil, unless the object is handled by a try/finally block, or it is in a destructor. It speeds up finding stupid mistakes in loops or singletons.
  5. Lars Fosdal

    Do you need an ARM64 compiler for Windows?

    It is called off-topic 😛
  6. Lars Fosdal

    FDMemtable with localsql

    If you can programmatically add an index - i.e. without using SQL - it should work - but I've never tried it.
  7. Ghostery shows the link on a confirmation page for me to decide on whether to continue or not.
  8. There is a tracker redirect behind that link. AdBlockers hate those.
  9. Lars Fosdal

    FDMemtable with localsql

    In https://docwiki.embarcadero.com/RADStudio/Sydney/en/Local_SQL_(FireDAC) the "Query" section seems to indicate that it does not?
  10. Lars Fosdal

    Array within an array??

    True, it is only a problem if you pass the values around to be modified.
  11. Lars Fosdal

    Array within an array??

    A warning: Using records instead of objects in containers carries the penalty of duplication. LabelRecord1.iValue:= 123; LabelRecord1.iColor := 234; LabelMatrix[1,1] := LabelRecord1; LabelRecord1.iColor := 567; At this point, LabekMatrix{1,1].iColor will still be 234. It is the same the other way around. Modify the array value, and the variable stays unchanged. A workaround would be to use pointers. type PLabelRecord = ^TLabelRecord; and use variables and arrays of that type. You would need to New/Dispose each reference, but at least there is no duplication as you pass around the pointer reference to the original allocation instead of copying the record like in the original example.
  12. Lars Fosdal

    Delphi 11.1 Stuck While Opening Project

    Are there file references in the project that points to a fileshare that may or may not exist?
  13. Lars Fosdal

    2022 Stack Overflow Developer Survey

    Temporarily disabling the ad-blocker solved that for me.
  14. Lars Fosdal

    Do you need an ARM64 compiler for Windows?

    EMBT are playing with their cards tightly held to their vest - which I guess is a tactic to avoid getting negative feedback for not delivering something that they put on the roadmap but didn't get time to do. I wish EMBT were more open and better at communicating their plans - but if you are a subscriber, I recommend joining in on any beta invite that you may receive. Please note, though, that those that get invited must sign NDAs - so it is like Fight Club: Rule #1 - Don't talk about Fight Club. But yeah... Public indicative roadmaps would be great.
  15. Lars Fosdal

    Lazarus build for Linux

    This site focuses on Delphi. It is more likely you get the info you need for Lazarus here: https://forum.lazarus.freepascal.org/index.php?action=forum