-
Content Count
1977 -
Joined
-
Last visited
-
Days Won
26
Everything posted by Attila Kovacs
-
enable/disable the internet connection?
Attila Kovacs replied to David Schwartz's topic in Windows API
He was in ~10 reboot distance to his goal. 🙂 -
enable/disable the internet connection?
Attila Kovacs replied to David Schwartz's topic in Windows API
anyway, in powershell it should be pretty easy to disable/enable the networking or ptarts of it -
enable/disable the internet connection?
Attila Kovacs replied to David Schwartz's topic in Windows API
ups, my apologies 😄 -
enable/disable the internet connection?
Attila Kovacs replied to David Schwartz's topic in Windows API
What the heck are you talking about, linux since 10 years and you are asking for an "API"? Where is an API to do that under linux? Take a powershell and write your scripts like in linux. -
GDI object leak and overflow when TImageList is on a frame
Attila Kovacs replied to aehimself's topic in VCL
So they were leaks from the perspective of the initial test. This means that your repro's were also wrong, didn't they? -
GDI object leak and overflow when TImageList is on a frame
Attila Kovacs replied to aehimself's topic in VCL
The issue is always there, even at the first run. But I can't make you place breakpoints and run the app, so I can't really help further 😉 -
GDI object leak and overflow when TImageList is on a frame
Attila Kovacs replied to aehimself's topic in VCL
Well, I'm not sure on that. It's harder to create the exact same environment as one would think. You see what is leaking, you could start placing breakpoints to the constructor/destructor of the imagelists first and count them, and check who the caller is. -
GDI object leak and overflow when TImageList is on a frame
Attila Kovacs replied to aehimself's topic in VCL
I'm fine with 10000 decimal. Is that on the screenshot? It's showing a bunch of HBITMAP leaks in the comctl32.dll. TImageList is a wrapper for some windows imagelist so I'm suspecting that it's not freed correctly or created twice under the same reference etc... I'd look for that. -
GDI object leak and overflow when TImageList is on a frame
Attila Kovacs replied to aehimself's topic in VCL
I don't think that the ImageList should be on the frame. Anyway, is your test-project also creates the sub-frames from the constructor? You should check where and what is calling GetDC/ReleaseDC in the VCL and if they are called in pair. -
Compiler detecting repeated lines?
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
You would not wait for the compiler to finish 😉 But maybe in the future there will be such things. Why not. However, as @ConstantGardener mentioned, it would be a task for static code analysis as you would lost too much time on every compile vs. the cases you have in your code. -
Compiler detecting repeated lines?
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
who gives you the guarantee that the second call is returning the same value? <o>? -
Strategies for minimizing app start time
Attila Kovacs replied to PeterPanettone's topic in General Help
move the splash screen randomly to 0,0 (topleft) corner and show it blurry for no reason -
MAP2PDB - Profiling with VTune
Attila Kovacs replied to Anders Melander's topic in Delphi Third-Party
Yeah, I'm using it mostly with OllyDbg for debugging. -
MAP2PDB - Profiling with VTune
Attila Kovacs replied to Anders Melander's topic in Delphi Third-Party
Hey @Anders Melander! This still rocks! Thx! 😉 -
Why Tokyo is the first supported IDE? Is this based on some new OTA?
-
Which implementation of this is easier to understand?
Attila Kovacs replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
The 2nd implementation is better for my eyes. -
Why??! (they've changed the way main menu works in the IDE).
Attila Kovacs replied to Lajos Juhász's topic in Delphi IDE and APIs
let's see what did I break with that the very few occasions that the OTA handles something perfectly procedure TKeyboardBinding.CatchInsert(const Context: IOTAKeyContext; KeyCode: TShortCut; var BindingResult: TKeyBindingResult); begin if not Context.EditBuffer.BufferOptions.InsertMode then begin Context.EditBuffer.BufferOptions.InsertMode := True; BindingResult := krHandled; end; end; -
Why??! (they've changed the way main menu works in the IDE).
Attila Kovacs replied to Lajos Juhász's topic in Delphi IDE and APIs
Give me direct link, I'm a high paid manager!!! 😛 -
Why??! (they've changed the way main menu works in the IDE).
Attila Kovacs replied to Lajos Juhász's topic in Delphi IDE and APIs
I want it! How did you do that? The overwrite mode is one of the most annoying thing in the IDE and on my notebook the insert key is next to the home key. -
How to focus a window from another application?
Attila Kovacs replied to Lajos Juhász's topic in Windows API
I've not much experience with WPF apps but this was interesting to read: https://stackoverflow.com/questions/59651420/bring-calculator-window-to-front-in-windows-10 -
I/O Error 103
Attila Kovacs replied to Silver Black's topic in Algorithms, Data Structures and Class Design
for sure is the code not the same -
enable/disable the internet connection?
Attila Kovacs replied to David Schwartz's topic in Windows API
What if you set your connection as metered? -
Where is the Welcomepage directory in Delphi 11 Alexandria?
Attila Kovacs replied to PeterPanettone's topic in Delphi IDE and APIs
"mainly to allow for better High DPI support" ROTFL -
Where is the Welcomepage directory in Delphi 11 Alexandria?
Attila Kovacs replied to PeterPanettone's topic in Delphi IDE and APIs
Eventually, if it's still in files and not hidden for "some reason!?" you could do: procmon process name contains "bds" path ends with "htm" (note there is no l" and right click on welcome page and reload?refresh?(Aktualisieren) -
Every time I press ctrl-F3 the call stack window is shown, even if the process is not started. I can't find anywhere this shortcut, where is it coming from? Btw. is it possible to disable F6 as is and turn off "Entire scope" in the search panel by default?