-
Content Count
3701 -
Joined
-
Last visited
-
Days Won
185
Everything posted by David Heffernan
-
Delphi 11 Windows XP compatibility tweak
David Heffernan replied to mitzi's topic in RTL and Delphi Object Pascal
They explicitly don't want to keep on supporting these old versions. Why? Emba have done all this intentionally. -
Is anybody but me using monitors with different scaling?
David Heffernan replied to dummzeuch's topic in GExperts
Does GExperts and/or the IDE that you are using support per monitor DPI? -
RAD Studio 11 Alexandria is now available
David Heffernan replied to Darian Miller's topic in General Help
I wonder if the x64 windows debugger works now -
Delphi 11: Text size too small!
David Heffernan replied to PeterPanettone's topic in Delphi IDE and APIs
Why is nobody else reporting this issue? -
RAD Studio 11 Alexandria is now available
David Heffernan replied to Darian Miller's topic in General Help
Irrelevant. Good products are cohesive. Different aspects work with each other and support each other. Funny. Binary literals, digit separators and avx512 asm. That's the entirety of new language features. That's a pace that can only be described as glacial. Cant be hard to get the old formatter to work. If it's an arse for them to do it, tough. Their adult for building up so much technical debt. Honestly, look at the quality of what comes out of Emba and compare to other mainstream IDEs. -
RAD Studio 11 Alexandria is now available
David Heffernan replied to Darian Miller's topic in General Help
Honestly you'd think they'd have got the memo by now!!! What is wrong with them?!! -
RAD Studio 11 Alexandria is now available
David Heffernan replied to Darian Miller's topic in General Help
These are nice features but they are also completely trivial. -
RAD Studio 11 Alexandria is now available
David Heffernan replied to Darian Miller's topic in General Help
Do mean decimal seps or thousands seps? -
Delphi 11: Text size too small!
David Heffernan replied to PeterPanettone's topic in Delphi IDE and APIs
What the heck does this mean? People are trying to help you and the fact that you can't recognise it doesn't mean that they are unprofessional. -
RAD Studio 11 Alexandria is now available
David Heffernan replied to Darian Miller's topic in General Help
Here is the list of language improvements: binary integral literals (i.e. %0101 which equals 5 in decimal) _ can be used as a digit separator for integral literals, e.g. const oneMillion = 1_000_000 (essentially the parser just ignores _ when parsing such literals) inline asm support for AVX-512 instructions Kinda lame that this is all there is. What's new here: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/What's_New -
RAD Studio 11 Alexandria is now available
David Heffernan replied to Darian Miller's topic in General Help
no, nor any improvement in the codegen so far as I could tell -
Delphi 11: Text size too small!
David Heffernan replied to PeterPanettone's topic in Delphi IDE and APIs
Certainly your settings could be relevant. -
What everyhing else do you put under source control, apart from Delphi projects?
David Heffernan replied to Mike Torrettinni's topic in General Help
Everything that you create by hand (as opposed to being created by a script) goes under revision control -
Re-Index a PageControl.PageIndex
David Heffernan replied to Henry Olive's topic in RTL and Delphi Object Pascal
I think you need to write a short but complete program that demonstrates the issue. Otherwise it requires us to guess which is not effective or efficient. -
Anybody changing FileVersion directly in dproj file?
David Heffernan replied to Mike Torrettinni's topic in General Help
Why wouldn't you automate the build? -
Question about Delphi class (static) constructor
David Heffernan replied to wuwuxin's topic in Algorithms, Data Structures and Class Design
I guess you mean dpr not dfm. But even that sometimes is not enough. Because the units won't be initialised in the order the appear in the dpr. The first unit in the dpr will use other units and that influences initialisation order too. -
Get Parent process Current directory
David Heffernan replied to Mike Torrettinni's topic in Windows API
It's almost as if this thread didn't happen! What have we been talking about before now??? -
It's not that people have tweaked the system. They've just chosen to associate the PDF extension with a program that chooses to use different verbs as default. That contradicts your earlier points where you said double click on PDF is the same as invoking open verb.
-
It's not pointless. It's really important to know how the system works. These details matter. Details are important when programming. Makes no sense to recommend the 99.99% correct option over the 100% correct option. Obviously it's not likely to go wrong, but once you know how the system works why on earth would anybody opt to make an intentional mistake?
-
Question about Delphi class (static) constructor
David Heffernan replied to wuwuxin's topic in Algorithms, Data Structures and Class Design
Not necessarily. For instance if your dpr file references them in the other order then it won't be that way. And other unit use clauses can confound you. Enforcing dependencies in initialisation order is not robust. I prefer to find a different way to solve such problems. -
Get Parent process Current directory
David Heffernan replied to Mike Torrettinni's topic in Windows API
No. This missing context is the exact reason why this thread has been so long. It's invariably valuable to understand the motivation to a question. It sounds like what you need is for you r the calling processes to provide extra information to your program. -
Get Parent process Current directory
David Heffernan replied to Mike Torrettinni's topic in Windows API
Then you are in trouble because there's really no way in general to be sure that the process which created your process still exists when your process executes. Windows has a very different model of parent/child process relationships from say Linux. What problem are you trying to solve? -
Get Parent process Current directory
David Heffernan replied to Mike Torrettinni's topic in Windows API
Not if the parent chooses to specify a different current directory. The command interpreter process, which is the parent, might terminate before your process has a chance to inspect it. If you are in charge of creating the process, then pass in the information required as an argument. The more I read of thus the more it seems you are taking the wrong path. -
So you agree with me then.
-
Get Parent process Current directory
David Heffernan replied to Mike Torrettinni's topic in Windows API
What problem are you trying to solve here, because what you are describing doesn't sound like a robust solution to any problem.