Jump to content

David Heffernan

Members
  • Content Count

    3586
  • Joined

  • Last visited

  • Days Won

    176

Everything posted by David Heffernan

  1. David Heffernan

    32bit vs 64bit

    Indeed. And too bad you can't specify the type of a literal.
  2. David Heffernan

    32bit vs 64bit

    Given that the suppliers of hardware have dropped support for extended I would suggest that you are out of date.
  3. David Heffernan

    any body can write this code by delphi?

    Don't you have any software developers?
  4. David Heffernan

    any body can write this code by delphi?

    What is stopping you from writing this in Delphi? I don't fully understand the question? Do you have any programmers on your team? Why not ask one of them to do this?
  5. David Heffernan

    32bit vs 64bit

    True, but nobody should be using that type anyway. I speak as a developer of mathematical software.
  6. David Heffernan

    TOpenDialog/TFileOpenDialog => how to to bypass file system redirection?

    FWIW, I'd tackle this by shipping a 64 bit application.
  7. David Heffernan

    32bit vs 64bit

    It's true that the 64 bit Windows debugger is a disaster zone. But I just debug with the 32 bit debugger. You can have a project with both 32 and 64 bit targets. You can then ship just the 64 bit if you prefer. But you can still use the 32 bit debugger during development, because it's the one that is actually useful.
  8. David Heffernan

    TOpenDialog/TFileOpenDialog => how to to bypass file system redirection?

    c# - 32-bit OpenFileDialog --> 64-bit System32? - Stack Overflow tl;dr not possible
  9. David Heffernan

    Round

    Then I think the code from @Lajos Juhász is what you need
  10. David Heffernan

    Round

    What data type are you using? Currency?
  11. David Heffernan

    64bit RTL patches with Intel OneApi and TBB

    The winapi heap is what I use for my MM. With an added twist that I have distinct heaps for each NUMA node so that I can arrange that threads get memory that is efficient to access on NUMA machines.
  12. David Heffernan

    TTimer limit..

    Using a GUI timer like this is likely wrong anyway.
  13. David Heffernan

    64bit RTL patches with Intel OneApi and TBB

    This is surely correct. It's strange that people wouldn't be happy to have the allocator in a dll.
  14. David Heffernan

    Profiling Clipper2

    Pointer with increment vs direct array indexing should be very similar. In anything I think the latter tends to be a little quicker.
  15. David Heffernan

    Profiling Clipper2

    I simply don't use the RTL collections anywhere in my code and use my own implementation so I have full control of that. This is a serious undertaking, and not for everyone. So I'd recommend using the spring4d collections.
  16. I agree. My point is that OP keeps asking for buffering but that won't really help.
  17. Buffering isn't really going to help here, because the MM already does that in effect.
  18. I'm not sure what you are saying here. Writing to memory is just writing to memory. Be it some intermediate buffer or the memory block backing the stream. Can you explain what performance block you are trying to overcome. Reallocation is the only block I can see.
  19. Rather than buffering in this case I have a memory stream that doesn't use contiguous memory. Instead of a single memory block, it manages a list of equally sized blocks. This avoids any performance issues with repeated calls to ReallocMem. Is that the performance block you want to work around?
  20. David Heffernan

    Move a form a few pixels??

    Easier to replace the CRT monitor with an LCD
  21. Do you perhaps have code in different modules? Like code in an exe and a dll and the object is passed between the modules?
  22. I guess I'd be a bit concerned about floating point use here when Log10 returns an exact integer
  23. David Heffernan

    ShowModal does not show window after a few tries (It does not pop up)

    Seems like the problem is going to be in the code that we cannot see. Please make a minimal reproducible example.
  24. David Heffernan

    TBitmap32 to jpg (graphics32)

    Most likely if there was a leak it was in your code, that would be my best guess.
  25. David Heffernan

    TBitmap32 to jpg (graphics32)

    That would be due to a leak. Again though, I'm not aware that the VCL jpeg code leaks anything. Am I missing something?
×