-
Content Count
1944 -
Joined
-
Last visited
-
Days Won
25
Everything posted by Attila Kovacs
-
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?
-
Okay, do you know which GE module does this? I've GE but the only live module is filtering the explicit values.
-
Oh, is he gone again? 😕 s/useless/less
-
Delphi 11.0 has a different form Caption offset than Delphi 10.4
Attila Kovacs replied to Tom Mueller's topic in VCL
I heard that he is starting every day over! -
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.
-
Menu captions with images are hard to read under Windows 11
Attila Kovacs replied to Tom Mueller's topic in VCL
It's not that bad if you can throw it away on the next update which is very likely in this case. -
No, as it depends on modified emba/another non-free codes I will not be able to publish it ever... 😕
-
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.