Jump to content

Attila Kovacs

Members
  • Content Count

    1944
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by Attila Kovacs

  1. 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.
  2. 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.
  3. 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.
  4. Attila Kovacs

    Compiler detecting repeated lines?

    who gives you the guarantee that the second call is returning the same value? <o>?
  5. 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
  6. Attila Kovacs

    MAP2PDB - Profiling with VTune

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

    MAP2PDB - Profiling with VTune

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

    IDE Code Coverage Plugin available

    Why Tokyo is the first supported IDE? Is this based on some new OTA?
  9. The 2nd implementation is better for my eyes.
  10. 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;
  11. Attila Kovacs

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

    Give me direct link, I'm a high paid manager!!! 😛
  12. 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.
  13. 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
  14. Attila Kovacs

    I/O Error 103

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

    enable/disable the internet connection?

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

    Where is the Welcomepage directory in Delphi 11 Alexandria?

    "mainly to allow for better High DPI support" ROTFL
  17. 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)
  18. 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?
  19. Attila Kovacs

    Where is Ctrl-F3 coming from?

    Okay, do you know which GE module does this? I've GE but the only live module is filtering the explicit values.
  20. Attila Kovacs

    Maximum static memory

    Oh, is he gone again? 😕 s/useless/less
  21. Attila Kovacs

    Delphi 11.0 has a different form Caption offset than Delphi 10.4

    I heard that he is starting every day over!
  22. Attila Kovacs

    Gnostice eDocEngine and Delphi 11

    If you are on subscription the latest one has D11 support in the installer. Maybe @Girish Patil should update the History page on the site.
  23. Attila Kovacs

    Menu captions with images are hard to read under Windows 11

    It's not that bad if you can throw it away on the next update which is very likely in this case.
  24. Attila Kovacs

    General JSON question

    No, as it depends on modified emba/another non-free codes I will not be able to publish it ever... 😕
  25. Attila Kovacs

    General JSON question

    Probably yes. On the other hand, I have an expert which generates custom classes from a JSON string and the fields are properties of a custom type which is not only nullable but also "nothingable" for this reason. (silly name I know). It's not necessarily a better approach, I'm just allergic to string constatns in the code.
×