-
Content Count
3586 -
Joined
-
Last visited
-
Days Won
176
Everything posted by David Heffernan
-
Why empty dynamic arrays = NIL?
David Heffernan replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
Not sure I agree. It can be useful to distinguish between null and length 0 array. It can be useful to have these as different conceptual things. -
OLE structured storage library replacement for Plasmatech
David Heffernan replied to TonyB's topic in General Help
Well in the case of structured storage, it's an old legacy technology that won't change. So does it matter that your library isn't actively maintained? -
why shortstring in Delphi cannot used in our Programs using New IDE?
David Heffernan replied to bravesofts's topic in Algorithms, Data Structures and Class Design
It's Java. Very early on many C# programs were also valid Java programs. -
why shortstring in Delphi cannot used in our Programs using New IDE?
David Heffernan replied to bravesofts's topic in Algorithms, Data Structures and Class Design
That's not really why byte is useful. Byte is primarily useful to store binary data, typically as TArray<Byte>. It's rare to use Byte to store a count for example. -
delphi set max length for Argument of string in a method
David Heffernan replied to bravesofts's topic in Algorithms, Data Structures and Class Design
No there is not. However, you really should not be using short strings at all. These only exist for backwards compatibility with legacy code. -
delphi set max length for Argument of string in a method
David Heffernan replied to bravesofts's topic in Algorithms, Data Structures and Class Design
I don't understand the question. Obviously the code here is not valid. Can you describe what you want to achieve. -
OLE structured storage library replacement for Plasmatech
David Heffernan replied to TonyB's topic in General Help
I remember working with the ExpressSpreadsheet xls code which is based on BIFF records and COM structured storage. The developers had implemented a lot of code to handle the structured storage side of it all, and whilst it mostly worked, there were a couple of obscure bugs which were flushed out by writing huge files. After spending some time debugging it all, we threw away all of the third party code that implemented structured storage and replaced it with the system provided COM objects. So I guess what I am saying is that the approach outlined by @Alexander Elagin above seems likely to be good advice to me. -
Strange exception with "Write of address 00400000"
David Heffernan replied to Cristian Peța's topic in VCL
This has always been a total heap of crap -
10.4.1+ Custom Managed Records usable?
David Heffernan replied to Darian Miller's topic in RTL and Delphi Object Pascal
Ah, yes, I see now! Wise -
10.4.1+ Custom Managed Records usable?
David Heffernan replied to Darian Miller's topic in RTL and Delphi Object Pascal
It's Python. Perl's conditional operator is the same as C. That looks completely different. And has the condition first. Quote unlike how it is done in Python. -
10.4.1+ Custom Managed Records usable?
David Heffernan replied to Darian Miller's topic in RTL and Delphi Object Pascal
I don't think that rings true. I mean the Python if statement is the same as the Pascal if statement. The Python syntax is closer to natural language than what is done in Oxygene. I don't see either as being particularly in keeping with Pascal, one way or another. -
Is it possible to see Git current working branch in IDE?
David Heffernan replied to Mike Torrettinni's topic in Delphi IDE and APIs
He's already using SourceTree which displays the information...... -
Is it possible to see Git current working branch in IDE?
David Heffernan replied to Mike Torrettinni's topic in Delphi IDE and APIs
I don't understand most of the answers. Mike wants to see the information in the RAD Studio IDE. -
This entire thread is largely pointless because we don't have a clear idea what you are trying to do and what your code looks like.
-
Utility to import/convert simple Python code
David Heffernan replied to Prabhat's topic in Python4Delphi
So write it in Python. -
Utility to import/convert simple Python code
David Heffernan replied to Prabhat's topic in Python4Delphi
Why don't you write something yourself to do this? -
Delphi 11 Windows XP compatibility tweak
David Heffernan replied to mitzi's topic in RTL and Delphi Object Pascal
I watched the sneak peak webinar and Marco mentioned that apps would no longer run on XP and also described the workaround in the original post here. So yes, this is intentional, and submitting a QP report would be kind of pointless. However, if you want there to be one you could do it yourself, rather than ask somebody else to do it. -
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?