-
Content Count
3710 -
Joined
-
Last visited
-
Days Won
185
Everything posted by David Heffernan
-
Find record operators via Rtti?
David Heffernan replied to Vincent Parrett's topic in RTL and Delphi Object Pascal
I think it has a name something like &op_Equality. You should be able to enumerate the methods of the type. -
If that code would compile, then there wouldn't be much point in having the library. Think about what the literal on the rhs of the assignment actually is.
-
I doubt anyone wants to download your software. I know I don't. Normally if you want help you'd explain more what the problem is. Anyway, never mind.
-
I'm afraid that none of this makes a lot of sense. Why do you feel that there should only be one explorer process? Why does that matter?
-
It's common to have lots of explorer processes. There's an option that means each window is run from a different process. I can't understand why you would feel that there should only be a single explorer process. That's for the system to decide. If you want to interact with the system then you need to follow its rules. You don't make the system rules.
-
Of course not. You aren't generating the html.
-
How are you generating the original html?
-
Problems running in 64 bit mega PC
David Heffernan replied to Peter Davies's topic in OmniThreadLibrary
Yes, if it is an affinity mask then it should be NativeUInt. -
Is Class with 2 'nested' constructors bad design?
David Heffernan replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
Sounds like the classic OOP trap of trying to solve all problems with inheritance. Good OOP programmers hardly ever use inheritance to solve problems. -
Problems running in 64 bit mega PC
David Heffernan replied to Peter Davies's topic in OmniThreadLibrary
I mean that this thing is named as though it is an affinity mask. And on Windows that makes it pointer sized. So, NativeUInt. -
Problems running in 64 bit mega PC
David Heffernan replied to Peter Davies's topic in OmniThreadLibrary
Affinity masks for pointer sized. -
Problems running in 64 bit mega PC
David Heffernan replied to Peter Davies's topic in OmniThreadLibrary
Don't try to use more than 48 threads in that case -
If the hacker gets the program, and there is a hard coded key in the program, then it's trivial to hack.
-
Problems running in 64 bit mega PC
David Heffernan replied to Peter Davies's topic in OmniThreadLibrary
Is it 96 cpus, or 48 with 2 threads per core? Is the memory NUMA? -
Is Record method solution or a bad hack for pointer fields?
David Heffernan replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
What do you think this does? -
Seems like it's not really worthwhile then....
-
So you don't mind if the security is easily circumvented?
-
Although do anticipate that any hacker will be able to see the plain text when you decrypt in memory.
-
So often this is caused by a defect in your code. You supply an argument that is invalid. Perhaps an object that has already been destroyed. So full fastmm4 debug is useful. You would debug this by trying to create a minimal example that reproduces the issue. That's the starting point.
-
No reason at all to suspect that multithreading is the issue here. You aren't likely to get good leads from people making random guesses. Hard debugging is the way forward.
-
Automatically make your PC wake up at a given time
David Heffernan replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
The WOL packet is also being routed it would seem. -
One of many possible explanations, but far from the only one.
-
Automatically make your PC wake up at a given time
David Heffernan replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
How many ports do you have open on your public facing router? -
FastMM4 and option "AlwaysClearFreedMemory"
David Heffernan replied to A.M. Hoornweg's topic in General Help
That's surely not the right solution to the problem. The right solution is to implement the critical code following standard security practices. And to then get it audited by a security expert.- 5 replies
-
- fastmm4
- alwaysclearfreedmemory
-
(and 3 more)
Tagged with:
-
Boolean evaluation
David Heffernan replied to Ole Ekerhovd's topic in Algorithms, Data Structures and Class Design
This point about interop has merit, however, Boolean is the wrong type for interop. You need LongBool.