Jump to content

Fr0sT.Brutal

Members
  • Content Count

    2268
  • Joined

  • Last visited

  • Days Won

    46

Everything posted by Fr0sT.Brutal

  1. Fr0sT.Brutal

    Zeos on Delphi 11.2

    Try to connect to DB at runtime so that loading a client DLL won't be affected by any IDE presets.
  2. I'm not using either of these just because I don't need them. It's pretty annoying to get questions about side components
  3. Fr0sT.Brutal

    Regex help please..

    I'd rather ask myself WHY I need such validation. Email "rubba@hubba.bubba" will pass any checks but won't gain any sense. Domain check? They're multiplying like rabbits so you'll have to keep regex up to date + it won't save from "rubba@hubba.com" emails.
  4. Fr0sT.Brutal

    Zeos on Delphi 11.2

    This is excess. Just Install ZComponentDesign.dproj. Restarting is excess too.
  5. Fr0sT.Brutal

    Zeos on Delphi 11.2

    Just try packages for 10.x Official GH repo is https://github.com/marsupilami79/zeoslib
  6. Fr0sT.Brutal

    No one can help

    Then I really wonder why this topic lasts for 3 pages already and there's still no minimal reproducible sample here?
  7. Fr0sT.Brutal

    No one can help

    I give up. Just get more memory and chill.
  8. That's weird. Isn't executable flag enough to support ASLR?
  9. Fr0sT.Brutal

    No one can help

    Okay I see you have all memory consumed. Suggestion is to change tab to Processes and inspect YOUR APP. Stepping line by line in IDE.
  10. Fr0sT.Brutal

    Centered message?

    It's easy to backport to D7 That's completely different tech sharing the same name You can also place your custom proc with the same name ShowMessage in any common unit and ensure it goes after RTL one in the uses list. Compiler will pickup the proc from the most later used unit. However you'll need to ensure to always use that unit where ShowMessage is called.
  11. Fr0sT.Brutal

    No one can help

    I was referring to this 1G will surely cause issues. 64M shouldn't. Anyway without reproducible test project there's nothing more I can say. BTW, FastMM throws OOM exception if a memory is corrupted. Task manager
  12. However the simple variant should be working with older versions
  13. Fr0sT.Brutal

    Centered message?

    Hooking an RTL procedure is rather simple https://github.com/Fr0sT-Brutal/Delphi_MemoryModule/blob/master/FuncHook.pas but Windows-only
  14. Fr0sT.Brutal

    Windows App hosting options?

    You can host a download server at AWS or something similar and only allow to retrieve the file by short-living session codes which you will generate at your website. The code should contain encrypted expiry time together with some salt so that download server could decrypt it and check whether the link is still alive
  15. Fr0sT.Brutal

    No one can help

    First you were talking about 64M record. Then it appeared to be 1G. Where's the truth? Anyway why not execute the app step by step and watch for memory consumption ? This will give more useful info than the whole this thread
  16. Hmm, I tried building a sample console app in XE2 with {$SETPEOPTFLAGS $140} or {$DYNAMICBASE ON} but didn't get any relocations on W7 and W8. How to experience ASLR without D11?
  17. Fr0sT.Brutal

    DL a file from the web

    Yep, that's an excerpt from working but old code with irrelevant parts removed. That's insignificant - GetLastError won't be needed on connect failure as the exception will raise Could you clarify? Here you're right! Forgot about it Hmm? You mean checking that Write(buf, read)=read? Stream is TMemoryStream there, I think failure in that case will be the least issue the machine has. However for other variant of WinInet downloading this note is actual, thanks!
  18. Here https://quality.embarcadero.com/browse/RSP-40130 the following change is suggested to calculate SModuleAccessViolation = 'Access violation in module ''%s'' (+%s). %s of address %p'; Result := EAccessViolation.CreateFmt(sModuleAccessViolation, [ExtractFileName(ModName), IntToHex (IntPtr (P^.ExceptionAddress) - IntPtr (MemInfo.AllocationBase), 1), AccessOp, AccessAddress]) I have no D11 at hand and I couldn't find that MemInfo in docs.
  19. Fr0sT.Brutal

    Exception call stacks on Windows with only a few LOCs

    Update: * Change format of stack trace: $Address Unit:LOC [Unit.Routine] * GetCallStackOS, internally removes itself from call stack by increasing FramesToSkip by 1. Skipping other 2 routines removed as they might not appear in some cases ! ReadLineNumbersSection, fix reading LOC-address parts separated by single spaces * GetExceptionStackInfo, adds the exception address itself as 1st stack item so that exception location is also decoded
  20. Much more important, it changes behavior.
  21. Fr0sT.Brutal

    Interbase 2020 update 3 - high firedac network traffic

    Try to test with single isolated client App's traffic could be estimated by counters in the task manager or with sniffer Then try to enable monitoring at the server to check if queries are the same (probably newer FD sends some excess queries) Examine FD changelog between 11 and 11.2, probably some defaults have changed
  22. Fr0sT.Brutal

    Display of bmp and jpeg images is poorer quality in Windows 11

    No idea, probably some defaults changed?
  23. Fr0sT.Brutal

    How to open a file in the already running IDE?

    Why not try pure winapi? The functions are quite straightforward AFAICT
  24. Fr0sT.Brutal

    Create multiple instances of tApplication with multiple MainThreads?

    https://supportcenter.devexpress.com/ticket/details/q267890/cxgrid-and-async-fetch Maybe this will help? Googled it in 1 minute
×