-
Content Count
3504 -
Joined
-
Last visited
-
Days Won
115
Everything posted by Lars Fosdal
-
@Dalija Prasnikar notified me that the try...finally issue that is mentioned as fixed is not actually fixed by those patches. There will be another patch soon. https://quality.embarcadero.com/browse/RSP-33117
-
Find exception location from MAP file?
Lars Fosdal replied to A.M. Hoornweg's topic in RTL and Delphi Object Pascal
Since I've not used MadExcept, I can't speak for that, but we use Eurekalog in several multithreaded NT services. -
Find exception location from MAP file?
Lars Fosdal replied to A.M. Hoornweg's topic in RTL and Delphi Object Pascal
@A.M. Hoornweg The Eurekalog stack trace is for thread where the problem occurs. There also is an option to collect stacks from multiple threads at an access violation or exception, but it is usually not recommended since it is very resource intensive. Our service is heavily multithreaded as well, doing database work, multi-connection TCP comms, as well as serving a web UI to multiple concurrent users. -
Find exception location from MAP file?
Lars Fosdal replied to A.M. Hoornweg's topic in RTL and Delphi Object Pascal
Eurekalog is invaluable for services. Eliminates the guesswork. Worth every €/$/£. -
Good quality Random number generator implementation
Lars Fosdal replied to Tommi Prami's topic in Algorithms, Data Structures and Class Design
@KodeZwerg That's not portable, though - and the quality of the PRNG would depend a lot on the parameters to BCryptOpenAlgorithmProvider. -
Good quality Random number generator implementation
Lars Fosdal replied to Tommi Prami's topic in Algorithms, Data Structures and Class Design
Don't know about good PRNGs, but get your seeds here. https://www.random.org/ -
That seems to cover the subject quite aptly.
-
What about additional free open source C++ libraries on GetIt ?
Lars Fosdal replied to Rolf Fankhauser's topic in General Help
TBH, I do not know how much C++ is done in VS versus other IDEs. -
What about additional free open source C++ libraries on GetIt ?
Lars Fosdal replied to Rolf Fankhauser's topic in General Help
So, to get real traction for a C++ Getit, one could write a plugin for VS and flog the heck out of it on the forums... -
What about additional free open source C++ libraries on GetIt ?
Lars Fosdal replied to Rolf Fankhauser's topic in General Help
Would it not be up to the author on GitHub to support GetIt? What does MS VS use? Nuget? In that case, the logical thing would be for C++Builder to support Nuget? -
Has anyone tried running Delphi on Windows ARM?
Lars Fosdal replied to Chris Pim's topic in Delphi IDE and APIs
https://www.theverge.com/22383598/parallels-desktop-mac-windows-10-install-m1-macbook I guess someone has to actually try it out to get an answer here. -
https://www.theverge.com/22383598/parallels-desktop-mac-windows-10-install-m1-macbook
-
Trouble with installing community edition serial number
Lars Fosdal replied to berean52's topic in General Help
@Jim McKeeth - How can this user get some support? -
A BIG and very strange BUG with High-DPI, VCL Style and Form Constraints
Lars Fosdal replied to Carlo Barazzetta's topic in VCL
The BDS IDE itself also goes catatonic for a long time when changing DPI. The style management code in VCL SUCKS! -
Ah, yeah... that is true. My explanation of TTimer events vs measuring an interval still stands.
-
A VCL:TTimer / FMX:TTimer is something that produces an event after a given interval, so not what you are looking for when you want to measure an interval. A TStopWatch is handy for measuring an interval. A TTimeSpan is an interval and has numerous methods for converting to various time units var t: TStopWatch; time: TTimeSpan; whenever you want to start measuring t := TStopWatch.StartNew; When you want to measure time := t.Elapsed; Alternatively t.Stop; time := t.Elapsed; Have a look at the TTimeSpan doc for how to get the various time units. Your Button1Click does not solve your problem since nothing else can happen while you are inside that code. Sometimes it helps to clarify how to solve a problem by writing the solution in regular text. That is as far as I will go in solving homework assignments.
-
Use TStopWatch from System.Diagnostics / System.TimeSpan.
-
Build managed dll in Delphi
Lars Fosdal replied to BastiFantasti's topic in RTL and Delphi Object Pascal
You can't make managed code with Delphi. What you can make is an unmanaged DLL that can be wrapped from managed code in .NET. Oxygene is native .NET. -
I was just wondering... Does C++Builder also output .map files? What if you had a C++ project that would build in both VS and RAD Studio and compared the VS .pdb with the map2pdb .pdb to spot any differences in structure and loading times?
-
Trouble with installing community edition serial number
Lars Fosdal replied to berean52's topic in General Help
Try starting LicenseManager.exe and see if you have any stale or invalid licenses around. Delete those if any, and try again? -
I am temporarily disabled due to a fractured (bone fully severed at 75° acute angle) upper left arm after slipping on black ice. A nice clean fracture according to the doctors. No surgery or fancy stabilization planned, and the doctors want me to let the body handle it on its own, varying between letting it hang free and using a sling. Typing one handed on Android is somewhat frustrating, so I'll be less active until the worst pain phase is over.
-
I will be less active for a few weeks
Lars Fosdal replied to Lars Fosdal's topic in Community Management
Thank you. I hope so too. The feeling of fatigue seems to diminish day by day, so I hope it stays that way. I have tripled the intake of Vitamin D enriched Cod liver oil, just to be sure 🙂 -
I will be less active for a few weeks
Lars Fosdal replied to Lars Fosdal's topic in Community Management
Update: I am no longer one-armed, but have about 1.65+ arms 😉 Mobility is decent and pain is limited, but there will be weeks of training to get back the strength and full use. To add insult to injury, I also caught the SARS-Cov-2 English mutation around March 16th, but I was lucky and got a very light progression, almost like a mild flu - but with an unusual amount of fatigue. Wife and stepson also got it, and they lost all sense of taste and smell, while I kept mine. Wife is currently getting her smell/taste back, but stepson still complains about food having no smell/taste or wrong taste, and that toothpaste tastes awful. We have no idea where we got it from, but I was visiting the hospital on that date, so it may even have been from there. The hardest part has been the fatigue. All my adult life, I have never been one to take a nap during the day, and typically have slept around 7 hours every night. The last weeks I've slept 7-8 hours during the night, and on several occasions 3-4 hours in the afternoon. I've been drained, both physically and mentally, and I still tire quickly, but it gets better every day. I highly recommend NOT contracting this shit! Keep your distance, wear that mask, wash those hands - and get vaccinated. -
It is a fully working third party component for scalable icons. Edit: I missed that you wanted it specifically for the IDE. I don't know if that is on the road map.
-
https://github.com/EtheaDev/SVGIconImageList