-
Content Count
3737 -
Joined
-
Last visited
-
Days Won
188
Everything posted by David Heffernan
-
I/O Error 103
David Heffernan replied to Silver Black's topic in Algorithms, Data Structures and Class Design
I think this isn't the way to do it. I'd expect to see you add a resource with the additional payload. -
I/O Error 103
David Heffernan replied to Silver Black's topic in Algorithms, Data Structures and Class Design
Doesn't an exe contain a file hash? I'm pretty sure that there are better ways of solving your problem, whatever it is, than modifying an exe file. -
I/O Error 103
David Heffernan replied to Silver Black's topic in Algorithms, Data Structures and Class Design
Even if you can succeed in writing to this file, what do you think the resulting exe will do? -
enable/disable the internet connection?
David Heffernan replied to David Schwartz's topic in Windows API
There are many posts on this topic on Stack Overflow. What did those posts yield? -
enable/disable the internet connection?
David Heffernan replied to David Schwartz's topic in Windows API
With all your experience you shouldn't be surprised when people wonder if there are better ways to solve problems people face. I'm sure you do the same in your work. -
enable/disable the internet connection?
David Heffernan replied to David Schwartz's topic in Windows API
The OS already has UI to let you switch connections on and off. Why not use it? -
Have you considered blogging?
-
It never was ever. You are probably misinterpreting memory stats from a task manager program.
-
Python code is running in main thread (on standard) ?
David Heffernan replied to diaroeh's topic in Python4Delphi
Certainly in the case of R it has a *nix heritage and is well supported on *nix and Windows platforms. Multiprocessing has always been the primary way to do parallel processing on *nix so it's entirely reasonable the R is single threaded and also reasonable that this has not got in the way of its success. -
Python code is running in main thread (on standard) ?
David Heffernan replied to diaroeh's topic in Python4Delphi
Python multithreading is kinda broken because of the GIL, which tends to prevent scaling. Multiprocessing is the way. -
Delphi 11.0 has a different form Caption offset than Delphi 10.4
David Heffernan replied to Tom Mueller's topic in VCL
Why has this changed? Is the VCL code custom drawing in Delphi 11 where previously it let the system do it? Or vice versa? Or both custom drawing and the code has changed? -
So far as I remember you could not install Win95 on multi processor machines. We'll, you could but only one processor would be used.
-
Calling inherited in Destroy
David Heffernan replied to pyscripter's topic in RTL and Delphi Object Pascal
Yes it should. -
Which is why I didn't quote NT4 ofc
-
Didn't support multi threading IIRC
-
How could that be useful? The OS is known to manage context switches correctly.
-
It's become a somewhat abstract blog post. Because you won't offer details nobody can offer any practical input.
-
Why would this be useful? It's invariably best to let the system schedule threads. If you are going to do it manually then you probably need to schedule all compute threads manually. Forcing one thread to a specific processor without taking care of other threads in the system will just lead to contention.
-
Mobile, and Linux (I think) use LLVM. Windows and Mac 32 bit use classic. Not sure about Mac 64 but I'd guess LLVM. Then there's the emulators.... But yeah, it's a mix.
-
No. I mean what is aDatabase, the variable in your code. What is that? What type.
-
Just to be clear, what is aDatabase. I suppose the answer could depend on that information.
-
Menu captions with images are hard to read under Windows 11
David Heffernan replied to Tom Mueller's topic in VCL
I just keep a document with every change I make, and then on a new release go and reply them one by one if they are still needed. A few hours work. -
Delphi 11.0 Alexandria produces more compact x64 executables than 10.4.2 Sydney !
David Heffernan replied to A.M. Hoornweg's topic in Delphi IDE and APIs
Well, we were talking about compiler changes -
Delphi 11.0 Alexandria produces more compact x64 executables than 10.4.2 Sydney !
David Heffernan replied to A.M. Hoornweg's topic in Delphi IDE and APIs
Slightly smaller executable files, binary literals, literal separators, support for new asm instructions. I think "care" feels a little strong. -
Menu captions with images are hard to read under Windows 11
David Heffernan replied to Tom Mueller's topic in VCL
I should have been clearer. I'm talking about the new code they added for themed apps. I agree it is necessary for old pre comctl32 v6 apps. I still do that. For comctl32 v6 I can't understand why they don't use PARGB32 images.