Jump to content

Anders Melander

Members
  • Content Count

    846
  • Joined

  • Last visited

  • Days Won

    34

Anders Melander last won the day on November 17

Anders Melander had the most liked content!

Community Reputation

537 Excellent

3 Followers

Technical Information

  • Delphi-Version
    Delphi 10.4 Sydney

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Anders Melander

    How to optimize exe loading times

    I usually wait until after my morning coffee. Very good point. Few people enjoy watching paint dry - unless it's body paint I have "solved" quite a few performance problems simply by adding a splash screen and/or a progress bars.
  2. Anders Melander

    Drag an Drop

    Well, you shouldn't really be solving that by giving the application full access to everything - but that's a different issue.
  3. Anders Melander

    Catch details on AV

    On Windows you can use an exception logger such as MadExcept or Eurekalog. I don't know of any solutions for maxOS.
  4. Anders Melander

    Drag an Drop

    I have no idea about what that is. You cannot drag between applications running with different elevated privileges (e.g. run as administrator) so make sure that you aren't running Delphi elevated - or disable UAC.
  5. Anders Melander

    ANN: Better Translation Manager released

    There's no difference between ITE and BTM in that regard. They use the exact same RTL mechanism. Ie. the BTM and ITE resource modules are identical. It's only the localization editor/manager/compiler that's different. I believe LoadNewResourceModule used to be in the RichEdit example (no longer included with Delphi but you can find it on the net). Instead you can use LoadResourceModule, in the system unit, or my version of LoadNewResourceModule, in the amLocale unit of the BTM source.
  6. Anders Melander

    ANN: Better Translation Manager released

    Thanks. Please read the last part of the answer for info on controlling the active language: ...But be aware that once a form has been created (and thus the DFM loaded from the resource module) you will need to either recreate the form or reload it from the DFM resource (not recommended) in order for it to use the new language.
  7. Anders Melander

    Primary Key on FDMemTable

    I believe you're thinking of the pfInKey value of TField.ProviderFlags. <rant>I know the help has improved but why the hell isn't there a link in the help from the ProviderFlags property to the type of the property. Don't they have computers that can do this stuff for them?</rant>
  8. Anders Melander

    Primary Key on FDMemTable

    What do you mean? Can you rephrase the question, please.
  9. That's a very short sighted attitude. Technical debt accumulates and your memory will not get better with age, or so I've heard
  10. No I don't think so. You've just made your code more complex and harder to maintain and gained almost nothing.
  11. Anders Melander

    NERO5 chess engine

    Define "well" I'm pretty sure it can easily beat me. https://www.chessprogramming.org/Nero
  12. Anders Melander

    Primary Key on FDMemTable

    There isn't really a "primary key" index on a TFDMemTable. You can have multiple indices on a table and one of them can be the "current index". http://docwiki.embarcadero.com/Libraries/Sydney/en/FireDAC.Comp.DataSet.TFDDataSet.Indexes I guess you can specify the soPrimary option on an index but I'm not sure if there's any practical difference from the soUnique option. http://docwiki.embarcadero.com/Libraries/Sydney/en/FireDAC.Comp.DataSet.TFDIndex.Options
  13. Anders Melander

    NERO5 chess engine

    ...and no comments. Not a single one! It's almost as if the code was generated by a decompiler. Not that I think it was because then there would be comments
  14. Anders Melander

    Speed of Graphics32

    I think the primary strength of OpenGL is that it's portable. Coming in at a close second is the performance of 2D and 3D vector graphics helped by the fact that many operations are hardware accelerated. Of course this is only a benefit if you have a fast graphics card (otherwise it's a bottleneck), but the same can be said for Direct2D. I do not think that it can compete when it comes to raster graphics which I think is what Mike is asking for.
  15. Anders Melander

    Speed of Graphics32

    Why do you think that?
×