-
Content Count
3504 -
Joined
-
Last visited
-
Days Won
115
Everything posted by Lars Fosdal
-
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
-
dpm Blogged: DPM Package Manager Progress
Lars Fosdal replied to Vincent Parrett's topic in Tips / Blogs / Tutorials / Videos
I wonder though - if it would be accepted as an IDE addon in GetIt 😛 -
Does a Clean and Build help? If not, you should create a QP issue.
-
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.
-
/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.
-
That is where they included it, since GetIt can update components between IDE releases.
-
Compactable version of Quick report for Rad studio 10.2 C++ builder for VCL project
Lars Fosdal replied to maheshbabu's topic in Delphi Third-Party
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. -
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.
-
spinlock primitives
Lars Fosdal replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
https://developer.arm.com/documentation/dui0473/m/arm-and-thumb-instructions/yield It was added in V6. -
10.4.2 Released today - available to download
Lars Fosdal replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
Lots of good stuff to be discovered here. -
spinlock primitives
Lars Fosdal replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
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? -
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
-
Blogged : Advice for Delphi library authors
Lars Fosdal replied to Vincent Parrett's topic in Tips / Blogs / Tutorials / Videos
Name them and shame them into adherence! I am only half-kidding... -
Max string literal length = 255
Lars Fosdal replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
@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. -
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/
-
Max string literal length = 255
Lars Fosdal replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
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 -
Max string literal length = 255
Lars Fosdal replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
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. -
That was what I suspected.
-
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/
-
Max string literal length = 255
Lars Fosdal replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
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. -
https://www.parallels.com/blogs/parallels-desktop-apple-silicon-mac/
-
Is it possible to Ctrl-click on Word ?
-
Which Delphi version? I am unable to reproduce in 10.4.1 - i.e. works as expected.
-
Delphi service in a domain controlled environment
Lars Fosdal replied to thomh's topic in Network, Cloud and Web
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. -
GExperts 1.3.18 experimental twm 2021-02-21 released
Lars Fosdal replied to dummzeuch's topic in GExperts
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 🙂