-
Content Count
3488 -
Joined
-
Last visited
-
Days Won
171
Everything posted by David Heffernan
-
Generics: Classes vs Records - Differences in use
David Heffernan replied to Lars Fosdal's topic in Algorithms, Data Structures and Class Design
It depends on how you want to access the data. This isn't really related to associate array style access by key. The issues with value types and copying apply equally to all containers. -
Generics: Classes vs Records - Differences in use
David Heffernan replied to Lars Fosdal's topic in Algorithms, Data Structures and Class Design
Why not? Surely the answer is the same as for objects. If you use a dictionary for objects, why not a dictionary for records? -
Dynamic arrays and copying
David Heffernan replied to Jacek Laskowski's topic in RTL and Delphi Object Pascal
This issue is covered explicitly by the documentation: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Structured_Types_(Delphi)#Dynamic_Arrays -
Open array parameters and subranges
David Heffernan replied to Stefan Glienke's topic in Tips / Blogs / Tutorials / Videos
But your code can only be used for arrays of byte. Stefan is demonstrating generic code. -
Open array parameters and subranges
David Heffernan replied to Stefan Glienke's topic in Tips / Blogs / Tutorials / Videos
What does this offer over what Stefan posted in his article? -
I'd be surprised if converting from VCL to FMX was simple enough to be usefully automated.
-
Why would there be conflicts in files that you have not modified? My advice to you is that before you try to change the process to fix the problem, you make sure that you have fully diagnosed the problem.
-
If you are not working in A, B and C then you simply should never see any conflicts. My guess is that someone in your organisation is using git incorrectly. No reason at all that you should have any troubles with all this in a single repo.
-
Oh. I took that to mean you want one repo for each of the 850 different variants.
-
850 repos for every client specific variation sounds kinda crazy. I suspect that you aren't getting great feedback here because your organisation's work flow is, er, unique.
-
Use of Ansistring in Unicode world?
David Heffernan replied to Mike Torrettinni's topic in General Help
Read Andy's comments to my answer in the SO post. If you care about performance, measure it. -
Use of Ansistring in Unicode world?
David Heffernan replied to Mike Torrettinni's topic in General Help
No reason to give any credence to that comment. Ignore it and move on. Be happy that your code is not limited to text that can be encoded with whatever ANSI locale the machine it runs on is using. -
10.4.1 Released today
David Heffernan replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
Lightweight MREW sounds useful. One does wonder if it works, having experienced the monitor debacle. -
You should have all your work in revision control. Then when your drive fails you still have it. Not to mention all the other benefits.
-
does a class property or a variable exist
David Heffernan replied to alnickels's topic in General Help
These things are determined at compile time. You can't declare either at run time. So why do you feel this a run time issue? -
Delphi 7 is a lot slower on Windows 10 (compared to Win7)
David Heffernan replied to Yaron's topic in Delphi IDE and APIs
FWIW, I have always installed Delphi, even as far back as D6 under program files. Once Vista and UAC arrived, I recall having to add a couple of permissive ACLs onto a couple of files, but it was pretty trivial. And had the benefit of keeping my machine nice and tidy. I understand that people have different preferences, but I just wanted to point out that installing under program files is not as terrifying as it can be made out. -
Delphi 7 is a lot slower on Windows 10 (compared to Win7)
David Heffernan replied to Yaron's topic in Delphi IDE and APIs
UAC, virtualization, etc. was introduced with Vista in 2006 -
Delphi 7 is a lot slower on Windows 10 (compared to Win7)
David Heffernan replied to Yaron's topic in Delphi IDE and APIs
Doesn't virtualization take care of all of this? Or does the D7 IDE have an app manifest? -
Delphi 7 is a lot slower on Windows 10 (compared to Win7)
David Heffernan replied to Yaron's topic in Delphi IDE and APIs
What does it write there? -
Unwanted Windows XP Manifest inserted
David Heffernan replied to timfrost's topic in RTL and Delphi Object Pascal
This topic is not about what is considered the right way to handle manifests. It's about tracking down the inclusion of a resource whose origin is not immediately obvious. -
Unwanted Windows XP Manifest inserted
David Heffernan replied to timfrost's topic in RTL and Delphi Object Pascal
XPMan is still there: http://docwiki.embarcadero.com/Libraries/Sydney/en/Vcl.XPMan.TXPManifest -
Unwanted Windows XP Manifest inserted
David Heffernan replied to timfrost's topic in RTL and Delphi Object Pascal
The unit is named XPMan. Search for that. -
Boolean short-circuit with function calls
David Heffernan replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
You still need comments for future readers. -
Delete FastMM4 MemoryManager_EventLog.txt
David Heffernan replied to Alberto Paganini's topic in Delphi Third-Party
It's automatically deleted here. Try setting up a brand new app and check how it behaves there. -
I use SHAutoComplete and don't have any issues.