-
Content Count
2023 -
Joined
-
Last visited
-
Days Won
26
Everything posted by Attila Kovacs
-
It's always your best guess and I don't have any other ideas either, but I don't know the internals and the Delphi manual is also very limited. Anyway, I can't invest any more time into this to figure it out myself and the solution I got I like much more as it skips an unnecessary step.
-
Well, it's not my problem anymore. @angusj provided a solution to overcome that.
-
Who are you talking to? Nobody said that it leaks, but somehow something won't release some memory until the app is closed, thus, it can not be used in a service. Measure? ctrl-shift-escape, there you can measure. Or you can wait until the out of resources dialog.
-
Never heard of it. Is it already in Berlin?
-
Very PC. I lost my patience after the 3rd dependency, however, looking into the sources it is quality work indeed. I'll check the speed against TImage32 when I found some time.
-
@Anders Melander Thanks, I'll check that too.
-
I see, still, something is different, memory is released asap. With your lib, in 8 threads, converting 13GB/5200 jpg's the application takes 500MB-1GBPeak RAM. With my converter, TPicture.LoadFromFile, DrawTo TBitmap, Resize to another TBitmap, assign to JPEGImage, save: RAM is linear up to 13GB+. There is no memory leak, something in Windows is holding some working RAM or whatever. I don't care anymore.
-
Wow man, thank you for pointing this out, this is a remarkable library indeed, just what I was looking for. The endless memory consumption of TBitmap is hereby solved.
-
Yeah, kinda, I don't know the internals, but that needs TBitmap which causes me gigabytes of unreleased RAM if I'm using it from threads. I could not find any info on that either.
-
I mean no extra dll's. This turbo lib depends on two dll's afaics.
-
@dummzeuch Thx but I'm only interested in pure pascal solutions.
-
Hextor - Hexadecimal editor and binary data analyzing toolkit
Attila Kovacs replied to DigitalWolF's topic in I made this
it must be good, it's dark -
Ask for comments to improve this code
Attila Kovacs replied to Berocoder's topic in Algorithms, Data Structures and Class Design
I see. -
Ask for comments to improve this code
Attila Kovacs replied to Berocoder's topic in Algorithms, Data Structures and Class Design
Wow. Thinking out loud: If you already cast ResObj to TObject in the code, can't you just give it the same type in the parameter list? -
bdslauncher stopped working, can't open pas' with dbl click anymore, strangely for both installations (10.1/2007) if I rename bdslauncher the system complains that the application is missing. how should I debug it further?
-
no bds running, dpr from shell starts bds, opens project, no further shell actions are working, no pas, dpr, dproj are passed to the IDE no bds running, dproj from shell starts bds, opens project, no further shell actions are working, no pas, dpr, dproj are passed to the IDE no bds running, pas from shell starts bds, does NOT opens the pas file, no further shell actions are working, no pas, dpr, dproj are passed to the IDE
-
Okay, the same happened on my other machine, clicking on a pas brought up the select app dialog with bdslauncher on the first place, clicked on it, and that's it. It doesn't work anymore.
-
found it, no luck, but the right association is there, it's bdslauncher which stopped doing anything
-
DBGrid repaint or refresh when dataset is refreshed
Attila Kovacs replied to ChrisChuah's topic in Databases
dataset.disablecontrols; / dataset.enablecontrols; -
To be able to manage that I took outline SVG icons. Every style has colors for the font included, so I take the normal text color for the outline color: <Style>.GetStyleFontColor(sfWindowTextNormal) With Riversoft's SVG Library I can iterate through the elements of the SVG's (runtime, loaded into SVGImagelists or SVGDocuments) and change the pen/brush color. (Or anything else, like text for calendar etc...) Maybe other libs can offer the same, I don't know. Some of them are storing the SVG as text AFAIK, I would not take such a lib. Some of them will need extra libraries installed on the client machine, which is a joke for just showing SVG icons. Maybe if you have a drawing app or similar.. Also, themes are overrated. An average user will never use it except you will force him to use it. 99% the theme users are Developers. Also, dark themes are not good for the eye, contrary to belief.
-
Why don't we have a bunch of cool visualizers in the IDE when it's pretty easy to make? (let's see how video embedding works, youtube had a very bad video quality) In the video there is a TStringList Visualizer I put together. Visualizer.mp4
-
Fastreport
Attila Kovacs replied to abdellahmehdi's topic in Algorithms, Data Structures and Class Design
Are the Master and Detail dataset the same? Or am I blind. -
Something is happened to my IDE the Evaluate/Modify window is not giving back the focus to the editor on closing it. I have to click into the editor every time. Any thoughts what could cause this?
-
Ok, it was me, delete this thread pls. disabled my own expert then enabled again and now the problem is gone..... strange as I have this problem since 1-2 weeks and IDE was restarted several times
-
Prevent Delphi IDE Multiple Instance
Attila Kovacs replied to stacker_liew's topic in Delphi IDE and APIs
Shortcuts like a shortcut to Delphi on your desktop or anywhere. It has a hoykey setting which you could have set accidentally. Did you check them? Use this: http://www.nirsoft.net/utils/shman.html