-
Content Count
3698 -
Joined
-
Last visited
-
Days Won
185
David Heffernan last won the day on April 26
David Heffernan had the most liked content!
Community Reputation
2437 ExcellentTechnical Information
-
Delphi-Version
Delphi 11 Alexandria
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
This is incorrect. Changing font properties in an event handler is fine.
-
Absolute directive with record and array
David Heffernan replied to DelphiUdIT's topic in Algorithms, Data Structures and Class Design
It has nothing to do with assignment. It's pretty rare for absolute to be useful. Pretend it doesn't exists, and you'll get a long way. -
Absolute directive with record and array
David Heffernan replied to DelphiUdIT's topic in Algorithms, Data Structures and Class Design
It will never find invalid pointers, but that's not why Assigned exists -
Absolute directive with record and array
David Heffernan replied to DelphiUdIT's topic in Algorithms, Data Structures and Class Design
I think the use of string here is to allow encoding of indeterminate masses for elements with no stable isotopes, or something along those lines. Look at the items with mass surrounded by parens. -
Absolute directive with record and array
David Heffernan replied to DelphiUdIT's topic in Algorithms, Data Structures and Class Design
What are you trying to achieve here? As Stefan says, why aren't you declaring these as records to begin with? And why would you want to make anything here a variable. Seems like this area of Physics is pretty much fixed! -
Anonymous methods as interfaces
David Heffernan replied to EugeneK's topic in RTL and Delphi Object Pascal
It's the official name for them, as you can see from the documentation https://docwiki.embarcadero.com/RADStudio/en/Anonymous_Methods_in_Delphi -
We've no idea what your system is. There are many versions of Delphi. We don't know what your app manifest is. These are both possibly relevant.
-
What does [ref] attribute actually dows
David Heffernan replied to Tommi Prami's topic in RTL and Delphi Object Pascal
Whether or not you want to use asm is not relevant. It's what you do with it that matters. I mean, exactly what you said above would apply equally if you wanted to write the code in pascal. -
What does [ref] attribute actually dows
David Heffernan replied to Tommi Prami's topic in RTL and Delphi Object Pascal
Why would [ref] be needed to use asm? -
What does [ref] attribute actually dows
David Heffernan replied to Tommi Prami's topic in RTL and Delphi Object Pascal
Is there any known use case other than the one demonstrated by FreeAndNil, namely to allow modification of a const param? -
Is it possible to cast an anonymous procedure to a procedure of object ?
David Heffernan replied to dormky's topic in RTL and Delphi Object Pascal
Is there any known use case other than the one demonstrated by FreeAndNil, namely to allow modification of a const param? -
McAfee, like so many AV products, the cure is worse than the disease.
-
Isn't this a well documented file system for which there are multiple open source projects that you can use to support the documentation? More generally, I'd advise you to put more effort into asking questions. Time spent describing what your problem is, what you already know, where you are blocked, etc. is effort you should spend if you want to get something in return.
-
Doesn't sound like it's not that exceptions aren't handled. App exiting is entirely different. How about the details we asked for.
-
Or maybe floating point exceptions are masked so there is no exception. We can't see your code, or know what version you use.