Jump to content

FredS

Members
  • Content Count

    435
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by FredS

  1. FredS

    Understanding TJumpList

    I used an EXE built in an older version (smaller size), it parses the cmdline, registers a mutual Windows Message then sends it back in the form of a WM_CopyData message. Note: WM_CopyData works across Application and Bitness boundaries
  2. FredS

    RAD Studio 13 is available

    This annoyance did happen but seem fine in the release.
  3. FredS

    RAD AI Companion

    The Artificial Indexers are good at returning other peoples work, when asked a second time they return more work of yet another person in a completely different style and syntax.
  4. FredS

    FireDac Uncommitted Transaction on Select Query

    Somewhere in all that info in those two links you can see that AutCommit "may" mean CommitRetaining.. Either way, do a Trace and you will know why this happens.. far easier than attempting to find the cause in code.
  5. FredS

    FireDac Uncommitted Transaction on Select Query

    To be sure add a TRACE to your db (server end), actually pretty simple thing to do. Check this out: https://stackoverflow.com/questions/77201632/growing-firebird-database-caused-by-commitretaining/77202004 More: https://docwiki.embarcadero.com/InterBase/2020/en/Using_isc_commit_retaining() You have to call Commit to end a chain of CommitRetaining. If your TConnection uses Rollback as its default action all is lost, change that to RollbackRetaining. But without Commit and while using Pooling this can get messy because the default query is usually set to ignore non committed data.
  6. FredS

    Bugs on WINMD, who can clarify ?

    I once sent out an app after a Delphi update and the new GetAce declaration broke it.. they left it that way for years.. The funny part is that others have run into GetAce issues and where told to switch to WinMD 🙂 RSP-44096 was my second attempt to try a newer version of WinMD. Other issues from the prior one have died in the old system. Anyhow, if you claim to build the API using the M$ supplied db and I can't trust just one single function then I have to assume there are more hidden issues..
  7. FredS

    Class helpers catch

    May explain an old bug report I file where adding a second record helper (access to private as a bug fix) lower down in a unit would be ignored. There may be a workaround for class helpers, in this case you can inherit from the original class helper. THelper2 = class helper(THelper1) for TMyClass
  8. FredS

    Run as admin on unauthorized Windows username

    Tested it on W10 in Common folders like "Program Files" and it worked well.
  9. FredS

    Run as admin on unauthorized Windows username

    To test this out I used an app which requires elevation. The error below seems like an awkward way to handle this.. This Errors with "The requested operation requires elevation" when executed from a non elevated process. More info here: https://stackoverflow.com/questions/4713196/createprocesswithlogon-error-requires-elevation
  10. ..and if your hotel runs an internal network?
  11. FredS

    Run as admin on unauthorized Windows username

    The User token must exist else you cannot enable it. Also Impersonations work on a thread basis, it may not be possible to use the Main Thread for this! It may be worth your while to supply us with Process Explorer details as Kas has.
  12. Managed records took a long time to fully implement and yes, records with strings where not managed or let's call them pseudo-managed and allowed. That only leaves the Q why fix or enforce this in: 12.2>12.3..
  13. What I found when originally searching: https://stackoverflow.com/a/64526312
  14. FredS

    Delphi 12.3 is available

    Seemed fine on a smaller section of code base but the same code base in the new 64-bit preview was a disaster..
  15. Same, I've had to recompile several design time packages to solve this.
  16. FredS

    Code signing in a remotely working team?

    This dates back a while, pretty sure some cross certificate (driver signing) issuer supplied this as part of an example on how to sign.a driver. I only recall because I had to remove it when we stopped cross signing everything.
  17. FredS

    Code signing in a remotely working team?

    /ph - Page hash enforcement verifies the signature on each page of the executable file as it loads into memory, this attaches the cross chain certificates
  18. FredS

    Delphi 12.2 Patch 1

    The installer overwrites the Environmental Path because it wants to dump everything into the OS Path with each install. Or at least that is the only thing I had to change fix for the last three updates.
  19. FredS

    Simulate blocking mode to send Email

    And WaitForMultipleObjectsEx allows you to add alertable flags to handle Paint message or all depending on requirement.
  20. Which what I ended up doing in a base form. Still that single bit boolean is a quick fix if needed.
  21. A boolean value turned out to be better because at times there are things that should be run OnShow v. OnFirstShow..
  22. Well the documentation language is always MAY 'Recreate the Window', so your mileage may vary. Think some API like SetWindowPos and MoveWindow have that, I know I ran into it while switching desktops via API.. Simpler just to add a FirstShown Property.
  23. Changing OS Text size was one I remember.
  24. I believe OnShow is also fired when a form is recreated, skin change is one of those, but the OS can trigger it as well.
  25. You can make a hash of the IP and include that in the payload of the IcmpSendEcho2 call. Then compare those with the return payload and if they match you are done. Else store that info in an array or pass it to a callback to check in another/main thread.
×