-
Content Count
1289 -
Joined
-
Last visited
-
Days Won
28
Everything posted by Sherlock
-
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
Sherlock replied to sp0987's topic in General Help
Once this issue is resolved, take a look at class helpers. Perhaps this could help get around the need to change RTL/VCL units. -
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
Sherlock replied to sp0987's topic in General Help
Hence my feeling for the need of discussion. -
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
Sherlock replied to sp0987's topic in General Help
I presume you copied this altered version to your projects path...? And it is missing from the other project? Project requirements that require a change to a file which might in turn get changed with every patch/update of the IDE are at least worthy of discussion. -
A gem from the past (Goto)
Sherlock replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
That reminds me: -
ActionList Editor: New Standard Action...
Sherlock replied to PeterPanettone's topic in General Help
I'm guessing this is one of the shortcomings of Jira Service Manager vs. Jira. I considered the option to vote for a call a good thing too. -
Looking for a couple of good "starter" Delphi books
Sherlock replied to t2000kw's topic in General Help
@Rick_Delphi Please don't kill this forums raison d'être. 😉 -
Looking for a couple of good "starter" Delphi books
Sherlock replied to t2000kw's topic in General Help
Funny this has remained unmentioned thus far: Object Pascal Handbook by Marco Cantù ...especially because it is free. -
Do you need an ARM64 compiler for Windows?
Sherlock replied to Lars Fosdal's topic in Cross-platform
Well, considering Windows on ARM will be gaining momentum as soon as some of these https://www.windowscentral.com/hardware/laptops/here-are-the-9-pc-makers-supporting-qualcomms-game-changing-snapdragon-x-elite the streets, it might be a smart move to get the compiler running. But that's just my totally unprofessional opinion. On the other hand, MS themselves are increasing the pressure. Just look at the agenda for this years "Build": https://build.microsoft.com/en-US/sessions/9d806202-be61-4b5d-ba0d-59ecfcaf0482?source=sessions -
Strange bug with string literals in RAD Studio 12
Sherlock replied to luebbe's topic in RTL and Delphi Object Pascal
Now where would be the fun in that? -
Strange bug with string literals in RAD Studio 12
Sherlock replied to luebbe's topic in RTL and Delphi Object Pascal
Sometimes I'm thankful for my ignorance. I didn't even know it was possible to concatenate without the +. Otherwise I would be in Anders' position and screaming bloody murder. -
Writing if statement in the Code Editor
Sherlock replied to PeterPanettone's topic in Delphi IDE and APIs
D12.1, 100%, Dark Theme. Broken behavior: And there is enough space above and below for the hint to move. -
Delphi compiled EXE are flagged as malware by anti virus software
Sherlock replied to Jaska's topic in General Help
I think it is not filling the fields themselves, but the words used to fill them. Some "Heuristics" are really just that simple. Take Windows UAC installer detection for example. If an exes name contains Install, setup or even patch it will automatically need to be run with elevated privileges. If however you provide a manifest requesting a non elevated execution level the UAC will not elevate. -
Web installer worked fine for me too. Impressive list of fixes. Worried about the future of bug tracking though.
-
Just spent the last 30 minutes staring at the screen, waiting for progress. Task manager showed high load in MS Defender...so I finally killed that and now the web installer is running. I wonder what was amiss there....
-
This is 12 patch 1 version info. They must have done something....
-
OK here's what I don't get. Seeing this const FuzzFactor = 1000; SingleResolution = 1E-7 * FuzzFactor; DoubleResolution = 1E-15 * FuzzFactor; I have to ask myself, why not const SingleResolution = 1E-4; DoubleResolution = 1E-12; Sure the calculation happens only once, and FuzzFactor seems to explain a magic number but then we still have those other magic numbers... just an observation.
-
The word you are looking for is "incomplete".
-
Simplified Debug Visualizers for all my TNullableTypes
Sherlock replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
D'uh! Should have figured that one out by myself. Sorry about that. Carry on. -
Simplified Debug Visualizers for all my TNullableTypes
Sherlock replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
I feel you got a typo in your code, @dummzeuch type TNullableDateTime = record private FIsValid: INullableTypesFlagInterface; FValue: TDateTime; public function Dump: string; // other methods and operators end; // ... implementation // ... function TNullableDateTime.Dump: string; begin if IsValid then Result := DateTimeToStr(Value) // <- should be FValue? else Result := '<invalid>'; end; Should the Dump function not refer to FValue? -
OK, so after a test run and wondering what took so long for a barely more than "Hello World" project... the product seems to have an issue with UNC paths. Filed it as #17
-
For your assets on the Releases page please, please don't use the Codenames only. I just sat in front of my Delphi with an open project and could not quickly find out if the ubiquitous number 12 represents the elusive city of Alexandria or Athens, unsure of which of your Assets to download. If you must waste space by using Codenames, then please at least waste two spaces more by adding the version you mean to address....or to satisfy my Monkness scrap the Codenames altogether.
-
A gem from the past (Goto)
Sherlock replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
Nice find @Lars Fosdal -
Delphi 12 installation has failed in all possible ways...
Sherlock replied to Hans♫'s topic in General Help
Congrats. I got used to VM, running a Windows VM on a Mac made it easy to develop for three platforms (Win, macOS, iOS)... never tried Android, but should work out. -
Delphi 12 installation has failed in all possible ways...
Sherlock replied to Hans♫'s topic in General Help
Rolling back the VM is not an option? -
A better way to share global data structures than as global variables?
Sherlock replied to DavidJr.'s topic in Algorithms, Data Structures and Class Design
I'm on the edge of my seat to see where this will lead...