Jump to content

Lars Fosdal

Administrators
  • Content Count

    3483
  • Joined

  • Last visited

  • Days Won

    114

Everything posted by Lars Fosdal

  1. Lars Fosdal

    DCPCrypt v.2.0 - 64-bit?

    I figured it out, but I need to do some more checking to figure out why it didn't fail in 32-bit.
  2. Writing your own VPN software in Delphi. Would you write your own Firewall too? Just say no. You don't need the liability.
  3. Lars Fosdal

    load a local json file into my app, (fdMemTable, etc)

    You need to load the JSON structures in memory, and then feed them row by row to your memtable. Here is an example: https://stackoverflow.com/questions/55766112/importing-json-into-tfdmemtable
  4. Captures problems can be easy to miss.
  5. Lars Fosdal

    How to update and install into new Delphi

    @FLDelphi Use your favorite git tool (I prefer GitKraken) and clone the OTL main branch to the folder of your liking. If you use components, build and install them. Use the git tool periodically to check for / pull updates.
  6. Lars Fosdal

    Issue with TMenuBar and Alt key

    Not sure if you missed my edit?
  7. Lars Fosdal

    Issue with TMenuBar and Alt key

    That sounds like a bug? There should be a MouseUp event? Edit: The "modal window" may be receiving the event instead of the parent form.
  8. Lars Fosdal

    Issue with TMenuBar and Alt key

    One could measure the time between the events to decide if they should be coupled - but ... lots of extra work. IMO, the Alt should normally be pressed BEFORE the click, and released AFTER the click-release - although you could interpret it as the Alt status only being required/captured at the time of the initial click, and only use the click-release as completion event.
  9. Lars Fosdal

    Windows 11 (22H2) 8bit bitmap problem

    @Mustafa E. Korkmaz Does this setting have any effect? https://support.microsoft.com/en-us/windows/auto-color-management-in-windows-11-64a4de7f-9c93-43ec-bdf1-3b12ffa0870b Edit: What is the color resolution of the system that Windows 11 runs on? Is there a way to optimize the image palette to match the default 256 color Windows palette?
  10. Lars Fosdal

    Print the complete window : a quick one (hopefully :)

    Does this code still work? https://stackoverflow.com/questions/23410377/delphi-active-window-screenshot Once you capture the window as a bitmap, then you can print.
  11. Lars Fosdal

    Remote Debug not generating blue Dots in 11.3

    Is it a service you are trying to debug?
  12. Among other things. See comments in issue. It has also been said that dealing with circularity is increasingly challenging for the compiler.
  13. Does using field name 'loginid' instead of 'login' have any effect? I am merely guessing here now - I have not used PG much.
  14. > pk_test_table" PRIMARY KEY ("login", ticket) Why is login quoted, but not ticket?
  15. In my experience, list separators tend to follow the locale - hence the question.
  16. What was the solution?
  17. I saw an example that added IndexDefs.Clear; before IndexDefs.Add... Edit: Another thing - are you certain that the field list is semi-colon delimited?
  18. There is so much on this online, that I am not sure if a course would pay off. However, making a test plan with relevant test cases is a great start. Use f.x. Jira + X-Ray to document and track test results.
  19. Lars Fosdal

    Backup of files + mysql

    IMO, that is a bad idea.
  20. Lars Fosdal

    Backup of files + mysql

    Does the clients access the DB directly, or is there a service between the clients and the db? If direct access, you have to take extra care in your design of the backup - to avoid clients making partial changes during the backup. It is not a trivial problem you have here...
  21. Lars Fosdal

    Backup of files + mysql

    Is the DB a single instance on a server, accessed by multiple users? There are several strategies, but it is hard to say which one is the right one without insights into how your DB is setup and used. https://blog.devart.com/mysql-backup-tutorial.html https://dev.mysql.com/doc/refman/8.0/en/backup-and-recovery.html Your application could probably be installed from scratch, but what about application configuration? Stored locally in file or registry? Complex config or simply a URI to the DB + credentials?
  22. Lars Fosdal

    Replacement for TBits?

    MMFs are good for "random R/W access" - but not so great for sequential R/Ws of huge files. Have a look at all the SO posts about systems crawling to a halt when using MMFs.
  23. Lars Fosdal

    Console application - CRT Unit - Console Library

    Back in those days, I wrote a GUI for my first commercial DOS app. It supported Hercules, EGA, and VGA cards at the time. Source code on GitHub - UPPERCASE reserved words and all...
  24. Lars Fosdal

    Console application - CRT Unit - Console Library

    Wow, that sent me back to the 80's 🙂 Nicely done!
×