-
Content Count
3586 -
Joined
-
Last visited
-
Days Won
176
Everything posted by David Heffernan
-
What do you think of "Local Global variables"
David Heffernan replied to Tommi Prami's topic in RTL and Delphi Object Pascal
Exit, Break and Continue are all good. No problem with them being used properly. These local variables that are shared between local functions are very different because they tend to have larger scope that is harder to manage. -
What do you think of "Local Global variables"
David Heffernan replied to Tommi Prami's topic in RTL and Delphi Object Pascal
I always prefer to pass parameters because it makes it much clearer what the input/output of the function is. Usually the so called convenience you refer to just leads to obfuscation. -
I honestly can't make any sense of this text. Is it just me?
-
Possible Delphi 12.1 inheritance bug, could someone test also
David Heffernan replied to Tommi Prami's topic in VCL
IDE form designer has been doing this sort of thing for over a decade with VFI -
Convert Visual Studio 2012 code to Delphi
David Heffernan replied to Bahram Akhundov's topic in General Help
Guys, he just wants somebody to convert the code ASAP!! -
Convert Visual Studio 2012 code to Delphi
David Heffernan replied to Bahram Akhundov's topic in General Help
This isn't the place to hire programmers is it -
Convert Visual Studio 2012 code to Delphi
David Heffernan replied to Bahram Akhundov's topic in General Help
It seems unlikely that somebody will write your program for you. Why don't you pay a programmer to do it? -
Convert Visual Studio 2012 code to Delphi
David Heffernan replied to Bahram Akhundov's topic in General Help
Doesn't seem like you want help. It seems like you want somebody to do it. I definitely recommend getting a programmer involved. -
Convert Visual Studio 2012 code to Delphi
David Heffernan replied to Bahram Akhundov's topic in General Help
Maybe you need to get a programmer on your team? -
Convert Visual Studio 2012 code to Delphi
David Heffernan replied to Bahram Akhundov's topic in General Help
Why not do this yourself? You could get some AI help to start, and then polish it up. If you want to pay somebody to do this there are plenty of online sites dedicated to facilitating that. -
Code for getting permissions not working in Delphi 11
David Heffernan replied to Delpher2600's topic in FMX
This looks like the tail wagging the dog. -
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
David Heffernan replied to sp0987's topic in General Help
One thing I find odd is that you feel the need to change the behaviour of basic windows API functions. Why are you doing this? -
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
David Heffernan replied to sp0987's topic in General Help
No. You detour the sysutils functions and all code in your process is impacted. Yes, detours. -
This isn't going to be necessary because it will be under revision control
-
Is it possible that your installation has been corrupted. Why would there be Android files under Win64?
-
memory; The function of EmptyWorkingSet
David Heffernan replied to DelphiUdIT's topic in Windows API
If you aren't using a swap file, where do those pages go when removed from the working set? I mean, these are pages allocated by your process. My best guess is that you did a benchmarking exercise that reached an incorrect conclusion and then you have continued using this function erroneously. -
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
David Heffernan replied to sp0987's topic in General Help
If you can do this with detours then it's preferable by far -
memory; The function of EmptyWorkingSet
David Heffernan replied to DelphiUdIT's topic in Windows API
How are you measuring the performance degradation? -
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
David Heffernan replied to sp0987's topic in General Help
Why though? -
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
David Heffernan replied to sp0987's topic in General Help
Nobody really cares that much. It's a gruesome way to go. I'd solve the problem properly but you don't want to tell us what the problem is. -
memory; The function of EmptyWorkingSet
David Heffernan replied to DelphiUdIT's topic in Windows API
So why would spending the time to do this be better than letting the system do it on demand? -
memory; The function of EmptyWorkingSet
David Heffernan replied to DelphiUdIT's topic in Windows API
This just makes your program slower though. Forcing the pages out of memory and onto disk before other programs need that memory takes time and can only lead to performance reduction. You may as well open the computer up and remove some memory sticks! -
memory; The function of EmptyWorkingSet
David Heffernan replied to DelphiUdIT's topic in Windows API
EmptyWorkingSet removes pages from the working set. Doesn't this mean your program won't be able to take advantage of memory caching? -
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
David Heffernan replied to sp0987's topic in General Help
What you seem to be in denial of is the need to recompile every rtl/vcl unit because you made a significant change to the interface of SysUtils. Are you really prepared to recompile everything? I bet there's another way to solve your problem. If only you'd tell us what the actual problem was. -
You are debugging the host. You need to debug the DLL. c++ - How to debug a DLL file in Delphi - Stack Overflow