Jump to content

Attila Kovacs

Members
  • Content Count

    1977
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Attila Kovacs

  1. Attila Kovacs

    enable/disable the internet connection?

    He was in ~10 reboot distance to his goal. 🙂
  2. Attila Kovacs

    enable/disable the internet connection?

    anyway, in powershell it should be pretty easy to disable/enable the networking or ptarts of it
  3. Attila Kovacs

    enable/disable the internet connection?

    ups, my apologies 😄
  4. Attila Kovacs

    enable/disable the internet connection?

    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.
  5. Attila Kovacs

    GDI object leak and overflow when TImageList is on a frame

    So they were leaks from the perspective of the initial test. This means that your repro's were also wrong, didn't they?
  6. Attila Kovacs

    GDI object leak and overflow when TImageList is on a frame

    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 😉
  7. Attila Kovacs

    GDI object leak and overflow when TImageList is on a frame

    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.
  8. Attila Kovacs

    GDI object leak and overflow when TImageList is on a frame

    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.
  9. Attila Kovacs

    GDI object leak and overflow when TImageList is on a frame

    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.
  10. Attila Kovacs

    Compiler detecting repeated lines?

    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.
  11. Attila Kovacs

    Compiler detecting repeated lines?

    who gives you the guarantee that the second call is returning the same value? <o>?
  12. Attila Kovacs

    Strategies for minimizing app start time

    move the splash screen randomly to 0,0 (topleft) corner and show it blurry for no reason
  13. Attila Kovacs

    MAP2PDB - Profiling with VTune

    Yeah, I'm using it mostly with OllyDbg for debugging.
  14. Attila Kovacs

    MAP2PDB - Profiling with VTune

    Hey @Anders Melander! This still rocks! Thx! 😉
  15. Attila Kovacs

    IDE Code Coverage Plugin available

    Why Tokyo is the first supported IDE? Is this based on some new OTA?
  16. The 2nd implementation is better for my eyes.
  17. Attila Kovacs

    Why??! (they've changed the way main menu works in the IDE).

    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;
  18. Attila Kovacs

    Why??! (they've changed the way main menu works in the IDE).

    Give me direct link, I'm a high paid manager!!! 😛
  19. Attila Kovacs

    Why??! (they've changed the way main menu works in the IDE).

    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.
  20. Attila Kovacs

    How to focus a window from another application?

    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
  21. Attila Kovacs

    I/O Error 103

    for sure is the code not the same
  22. Attila Kovacs

    enable/disable the internet connection?

    What if you set your connection as metered?
  23. Attila Kovacs

    Where is the Welcomepage directory in Delphi 11 Alexandria?

    "mainly to allow for better High DPI support" ROTFL
  24. Attila Kovacs

    Where is the Welcomepage directory in Delphi 11 Alexandria?

    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)
  25. Attila Kovacs

    Where is Ctrl-F3 coming from?

    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?
×