Jump to content

David Heffernan

Members
  • Content Count

    3737
  • Joined

  • Last visited

  • Days Won

    188

Everything posted by David Heffernan

  1. David Heffernan

    I/O Error 103

    I think this isn't the way to do it. I'd expect to see you add a resource with the additional payload.
  2. David Heffernan

    I/O Error 103

    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.
  3. David Heffernan

    I/O Error 103

    Even if you can succeed in writing to this file, what do you think the resulting exe will do?
  4. David Heffernan

    enable/disable the internet connection?

    There are many posts on this topic on Stack Overflow. What did those posts yield?
  5. David Heffernan

    enable/disable the internet connection?

    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.
  6. David Heffernan

    enable/disable the internet connection?

    The OS already has UI to let you switch connections on and off. Why not use it?
  7. David Heffernan

    Maximum static memory

    Have you considered blogging?
  8. David Heffernan

    Maximum static memory

    It never was ever. You are probably misinterpreting memory stats from a task manager program.
  9. David Heffernan

    Python code is running in main thread (on standard) ?

    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.
  10. David Heffernan

    Python code is running in main thread (on standard) ?

    Python multithreading is kinda broken because of the GIL, which tends to prevent scaling. Multiprocessing is the way.
  11. David Heffernan

    Delphi 11.0 has a different form Caption offset than Delphi 10.4

    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?
  12. David Heffernan

    PC Specs for Delphi??

    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.
  13. David Heffernan

    Calling inherited in Destroy

    Yes it should.
  14. David Heffernan

    PC Specs for Delphi??

    Which is why I didn't quote NT4 ofc
  15. David Heffernan

    PC Specs for Delphi??

    Didn't support multi threading IIRC
  16. David Heffernan

    PC Specs for Delphi??

    How could that be useful? The OS is known to manage context switches correctly.
  17. David Heffernan

    Maximum static memory

    It's become a somewhat abstract blog post. Because you won't offer details nobody can offer any practical input.
  18. David Heffernan

    PC Specs for Delphi??

    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.
  19. David Heffernan

    Delphi LLVM question

    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.
  20. David Heffernan

    Transactions

    No. I mean what is aDatabase, the variable in your code. What is that? What type.
  21. David Heffernan

    Transactions

    Just to be clear, what is aDatabase. I suppose the answer could depend on that information.
  22. David Heffernan

    Menu captions with images are hard to read under Windows 11

    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.
  23. Well, we were talking about compiler changes
  24. Slightly smaller executable files, binary literals, literal separators, support for new asm instructions. I think "care" feels a little strong.
  25. David Heffernan

    Menu captions with images are hard to read under Windows 11

    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.
×