Jump to content

Lars Fosdal

Administrators
  • Content Count

    3504
  • Joined

  • Last visited

  • Days Won

    115

Everything posted by Lars Fosdal

  1. Lars Fosdal

    Delphi 10.4.2 first impressions

    Open IDE, and select File | New | Windows VCL Application - Delphi Update: Problem went away when deleting an expired license. Reported as: https://quality.embarcadero.com/browse/RSP-33104
  2. Lars Fosdal

    Blogged: DPM Package Manager Progress

    I wonder though - if it would be accepted as an IDE addon in GetIt 😛
  3. Lars Fosdal

    How to Refresh 10.4.2 CodeInsight

    Does a Clean and Build help? If not, you should create a QP issue.
  4. Lars Fosdal

    Is this C++ builders new FORUM ???

    Please note that we started with just a single sub-forum for the C++Builder guys because we had no idea how many there are and how many questions there would be. We can divide up in more subforums if the usage dictates it.
  5. Lars Fosdal

    WM_CHANGEUISTATE

    /off-topic, but 10.3 and prior versions used to flicker like hell when AD pushed its policy settings. Fortunately, this has improved with the later versions.
  6. Lars Fosdal

    Edge Webview update (?)

    That is where they included it, since GetIt can update components between IDE releases.
  7. Repeating the same question doesn't really help. Please don't do that. Since you did not specify the nature of your issue, it is hard for people to answer. https://www.quickreport.co.uk/ carries the latest versions of QuickReports for the various versions of Delphi and C++Builder.
  8. Lars Fosdal

    Is this C++ builders new FORUM ???

    Quite a bit can be found in the wayback machine. I agree, though. It was a strange thing to do. I guess they are really trying hard to shave off costs.
  9. Lars Fosdal

    spinlock primitives

    https://developer.arm.com/documentation/dui0473/m/arm-and-thumb-instructions/yield It was added in V6.
  10. Lots of good stuff to be discovered here.
  11. Lars Fosdal

    spinlock primitives

    The equivalent of x86 PAUSE on ARM would be YIELD. Perhaps there is no ARM version of YieldProcessor because the ASM block only is usable under x86?
  12. I am not always putting huge strings into constants, but when I am testing a parser I am. Except - Delphi does NOT like string literals longer than 255 chars. It is probably logical, but still annoying. var s: string; begin s := 'string that is 750 chars long'; // compiler barfs with [dcc32 Error] E2056 String literals may have at most 255 elements s := '250 chars' + '250 chars' + '250 chars'; // ok /rant
  13. Lars Fosdal

    Blogged : Advice for Delphi library authors

    Name them and shame them into adherence! I am only half-kidding...
  14. Lars Fosdal

    Max string literal length = 255

    @emailx45 It is great that you are enthusiastic and helpful - but - the wrong kind of help is not really helpful, is it? I guess you missed the "/rant" in my original post, as well as the comment about "logical, but annoying", and the explicit reference to string literals. I also clearly stated WHY I wanted a longer string literal; and @Angus Robertson provided another example of when this limit is a challenge. Yet you post a completely irrelevant suggestion that AnsiString is the answer to the problem. My advice: - Study posts until you are sure you understand the context - Avoid applying your own opinion as one of the Embarcadero engineers - Avoid what-about-ism - Avoid characterizing the desires of others as insane - Avoid posting bullshit comments not relevant to the discussion Fun fact: The line length limit in the Delphi IDE is 4096 chars.
  15. Lars Fosdal

    macbook pro M1, running Delphi IDE

    I think you are right about the swap issue. Yet another problem has surfaced. I am glad I didn't spring for the Mini. The Register: Doctor, I think I have an HDMI: Apple starts investigating M1 Mac Mini graphics issues. https://go.theregister.com/feed/www.theregister.com/2021/02/22/apple_starts_investigating_m1_mac/
  16. Lars Fosdal

    Max string literal length = 255

    True. Normally you would for readability, but splitting involves a manual operation that carries a risk of mangling the content. Yes, it is a compiler limit, but when you can split and add up a huge string "manually", it is annoying that the compiler can't hide this for you. /rant ended
  17. Lars Fosdal

    Max string literal length = 255

    So, @emailx45 - show me a code example of how you fill an ansistring using a single string literal longer than 255 chars in the source code. Not from a loop, concatenation, string resource, file, form resource, or copied from the clipboard at runtime.
  18. Lars Fosdal

    DecodeDate Issue

    That was what I suspected.
  19. Lars Fosdal

    macbook pro M1, running Delphi IDE

    I'll be waiting for the next generation, or until they fix this: PC Gamer: Apple M1 Macs appear to be chewing through their SSDs. https://www.pcgamer.com/apple-m1-macs-appear-to-be-chewing-through-their-ssds/
  20. Lars Fosdal

    Max string literal length = 255

    Make sure you understand the core issue before posting a googled suggestion. Good luck filling an AnsiString with a string literal longer than 255 chars. Oh wait, you can't. If I don't want to split up and combine multiple literals, loading from a resource string is an option. It just irks me that I can't initialize a string variable that can literally hold billions of characters with a single constant longer than 255 chars.
  21. Lars Fosdal

    macbook pro M1, running Delphi IDE

    https://www.parallels.com/blogs/parallels-desktop-apple-silicon-mac/
  22. Lars Fosdal

    DecodeDate Issue

    Is it possible to Ctrl-click on Word ?
  23. Lars Fosdal

    DecodeDate Issue

    Which Delphi version? I am unable to reproduce in 10.4.1 - i.e. works as expected.
  24. Our services runs on domain controlled servers and are descendents from TService, but they must be configured to run with a specific AD user (i.e. not the default system user) that has the necessary rights to access it's own file, and to start and stop services to be able to upgrade themselves.
  25. Lars Fosdal

    GExperts 1.3.18 experimental twm 2021-02-21 released

    The Danes are currently having an upswing in cases due to the English mutation, and we are usually about four weeks after the Danes. I am the type of person that is happy in my own company and not dependent on hanging out with people outside the family to be stimulated, but even I am beginning to feel the pressures of self-isolation. I miss seing the users and my colleagues over a beer. That constant little ping of fear when venturing into the shopping centers and stores, wearing a mask, sanitizing my hands. It is a stress factor unlike anything I've ever endured before. There still are hundreds of thousands of people in front of me in the vaccination queue. But - you do what you can and embrace the days as they come. Thinking about Delphi things is a good diversion, so keep letting out more genies GExperts 🙂
×