-
Content Count
3668 -
Joined
-
Last visited
-
Days Won
181
Everything posted by David Heffernan
-
How to compile against ASM versions of System unit code?
David Heffernan replied to kaarigar's topic in RTL and Delphi Object Pascal
If there are faster asm versions in the system unit, that work on x64, then they will be used. But you can't compile an x86 asm procedure in x64 and expect it to work. You need a bespoke x64 version. In other words, I don't think what you describe is going to be possible. What is your specific performance issue? -
Embarcadero 11.1 access violation coreide280.bpl
David Heffernan replied to capi48's topic in Delphi IDE and APIs
My user is administrator, but because of UAC I run by default with restricted rights, as a standard user. Only if necessary do I run a process elevated. Do you have UAC disabled? -
Embarcadero 11.1 access violation coreide280.bpl
David Heffernan replied to capi48's topic in Delphi IDE and APIs
Why? We stopped doing that when Vista came out. -
Football Championship Group Stage Order
David Heffernan replied to PawelPepe's topic in Algorithms, Data Structures and Class Design
difficult to reconcile these two snippets -
Did you submit a PR for these changes?
-
Did you submit a PR for these changes?
-
2022 Stack Overflow Developer Survey
David Heffernan replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
These sort of shitty posts are precisely why SO ask these questions. -
Football Championship Group Stage Order
David Heffernan replied to PawelPepe's topic in Algorithms, Data Structures and Class Design
I guess you should just hire a programmer to do the work for you, if you don't know where to start. You already suggested this. Do a kickstarter or similar. -
2022 Stack Overflow Developer Survey
David Heffernan replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
I presume that they are concerned that their community isn't discriminating against any particular groups of people. -
Football Championship Group Stage Order
David Heffernan replied to PawelPepe's topic in Algorithms, Data Structures and Class Design
It's just a lexicographic order. If the primary comparison is equal, move on to the secondary etc until you separate the teams. -
Delphi can access all Windows APIs and the best reference is MSDN.
-
Er, yes, that's what I meant to type
-
Isn't it ExtractFileName(ExtractFileDir(ExeName))
-
Does this happen with a brand new VCL app with a single form that does nothing? If not then the answer is specific to your code.
-
This should not be necessary. It also seems like there would be scenarios which this would stop the user doing things they want to do.
-
Why would you try to put these two together. You use TortoiseGit inside explorer surely.
- 10 replies
-
Does ProgressBar Inside StatusBar Still Working?
David Heffernan replied to stacker_liew's topic in VCL
I also owner draw into a status bar panel for this need. It's pretty straightforward. -
Survey of Delphi Versions in use??
David Heffernan replied to Ian Branch's topic in Community Management
No they don't. I'm talking about actual statisticians as in a branch of mathematics. -
New Delphi job opportunity
David Heffernan replied to Berocoder's topic in Job Opportunities / Coder for Hire
It just seems so weird to me that there is such a thing as a Delphi developer. Are companies really not prepared to teach people? How can it be harder to learn a new language than to learn a new code base? Nothing here computes to me. -
Exception class EConvertError issue
David Heffernan replied to Minh Hoang's topic in OmniThreadLibrary
Bug in your code. Show a minimal reproduction. -
As an aside what annoys me about image lists in Delphi is that they lump all images in one big dfm blob. I like to keep my icons in icon files and link them as a resource. Then load them up at runtime. It means that when you need to update one you just change the ico file in one place. But then you don't get to see icons at design time. I'd like to have my icons in resources and see them at design time. Such a system must be possible.
-
Multithreading in Python is inevitably blocked by the GIL. Nothing you can do about it. No magic solution. See countless discussions of this topic on the broader internet. In other words the issue is not related to Delphi or p4d but is a fundamental design choice in Python.
-
Survey of Delphi Versions in use??
David Heffernan replied to Ian Branch's topic in Community Management
This question is the one that drives statisticians around the world completely mad. You need to decide on your goals before deciding what data to collect. -
Record / Class
David Heffernan replied to PatV's topic in Algorithms, Data Structures and Class Design
Why return a pointer to self? You just risk having that pointer outlive the record instance. Make this a constructor or a static class function that returns a new instance. BTW I remembered wrongly before. No need for a helper to implement a static class function that returns rTxt. -
Record / Class
David Heffernan replied to PatV's topic in Algorithms, Data Structures and Class Design
The final function can't be right. It should be a static class function, but that's not enough. What would it return? A pointer to what instance? You'd need to allocate an instance somewhere. I'd use a helper record to get around the inability to forward declare value types.