-
Content Count
2268 -
Joined
-
Last visited
-
Days Won
46
Everything posted by Fr0sT.Brutal
-
Try to connect to DB at runtime so that loading a client DLL won't be affected by any IDE presets.
-
The Delphi Certified Developer // To prepare for the exam
Fr0sT.Brutal replied to skyzoframe[hun]'s topic in Tips / Blogs / Tutorials / Videos
I'm not using either of these just because I don't need them. It's pretty annoying to get questions about side components -
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.
-
This is excess. Just Install ZComponentDesign.dproj. Restarting is excess too.
-
Just try packages for 10.x Official GH repo is https://github.com/marsupilami79/zeoslib
-
Then I really wonder why this topic lasts for 3 pages already and there's still no minimal reproducible sample here?
-
I give up. Just get more memory and chill.
-
How does the "Address Space Randomization (ASLR)" actually work
Fr0sT.Brutal replied to Tommi Prami's topic in General Help
That's weird. Isn't executable flag enough to support ASLR? -
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.
-
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.
-
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
-
How does the "Address Space Randomization (ASLR)" actually work
Fr0sT.Brutal replied to Tommi Prami's topic in General Help
However the simple variant should be working with older versions -
Hooking an RTL procedure is rather simple https://github.com/Fr0sT-Brutal/Delphi_MemoryModule/blob/master/FuncHook.pas but Windows-only
-
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
-
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
-
How does the "Address Space Randomization (ASLR)" actually work
Fr0sT.Brutal replied to Tommi Prami's topic in General Help
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? -
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!
-
How does the "Address Space Randomization (ASLR)" actually work
Fr0sT.Brutal replied to Tommi Prami's topic in General Help
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. -
Exception call stacks on Windows with only a few LOCs
Fr0sT.Brutal replied to Fr0sT.Brutal's topic in I made this
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 -
System.Generics.Collections.TList.BinarySearch if there are duplicates
Fr0sT.Brutal replied to dummzeuch's topic in RTL and Delphi Object Pascal
Much more important, it changes behavior. -
Interbase 2020 update 3 - high firedac network traffic
Fr0sT.Brutal replied to Anto90's topic in Databases
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 -
Display of bmp and jpeg images is poorer quality in Windows 11
Fr0sT.Brutal replied to Martin Liddle's topic in General Help
No idea, probably some defaults changed? -
How to open a file in the already running IDE?
Fr0sT.Brutal replied to aehimself's topic in Delphi IDE and APIs
Why not try pure winapi? The functions are quite straightforward AFAICT -
How to open a file in the already running IDE?
Fr0sT.Brutal replied to aehimself's topic in Delphi IDE and APIs
Definitely DDE -
Create multiple instances of tApplication with multiple MainThreads?
Fr0sT.Brutal replied to microtronx's topic in VCL
https://supportcenter.devexpress.com/ticket/details/q267890/cxgrid-and-async-fetch Maybe this will help? Googled it in 1 minute