

FredS
Members-
Content Count
424 -
Joined
-
Last visited
-
Days Won
4
FredS last won the day on February 13 2022
FredS had the most liked content!
Community Reputation
138 ExcellentTechnical Information
-
Delphi-Version
Delphi 10.1 Berlin
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
[dcc32 Error] Type parameter 'T' must be a non-nullable value type
FredS replied to EugeneK's topic in RTL and Delphi Object Pascal
Managed records took a long time to fully implement and yes, records with strings where not managed or let's call them pseudo-managed and allowed. That only leaves the Q why fix or enforce this in: 12.2>12.3.. -
[dcc32 Error] Type parameter 'T' must be a non-nullable value type
FredS replied to EugeneK's topic in RTL and Delphi Object Pascal
What I found when originally searching: https://stackoverflow.com/a/64526312 -
Seemed fine on a smaller section of code base but the same code base in the new 64-bit preview was a disaster..
-
Update 12.2 -> 12.3 : entry point @system@Threading@TParallelArray@$bcctr$qqrv was not found
FredS replied to FabDev's topic in Delphi IDE and APIs
Same, I've had to recompile several design time packages to solve this. -
This dates back a while, pretty sure some cross certificate (driver signing) issuer supplied this as part of an example on how to sign.a driver. I only recall because I had to remove it when we stopped cross signing everything.
-
/ph - Page hash enforcement verifies the signature on each page of the executable file as it loads into memory, this attaches the cross chain certificates
-
The installer overwrites the Environmental Path because it wants to dump everything into the OS Path with each install. Or at least that is the only thing I had to change fix for the last three updates.
-
And WaitForMultipleObjectsEx allows you to add alertable flags to handle Paint message or all depending on requirement.
-
Does the main form's OnShow event only ever fire once?
FredS replied to Gord P's topic in General Help
Which what I ended up doing in a base form. Still that single bit boolean is a quick fix if needed. -
Does the main form's OnShow event only ever fire once?
FredS replied to Gord P's topic in General Help
A boolean value turned out to be better because at times there are things that should be run OnShow v. OnFirstShow.. -
Does the main form's OnShow event only ever fire once?
FredS replied to Gord P's topic in General Help
Well the documentation language is always MAY 'Recreate the Window', so your mileage may vary. Think some API like SetWindowPos and MoveWindow have that, I know I ran into it while switching desktops via API.. Simpler just to add a FirstShown Property. -
Does the main form's OnShow event only ever fire once?
FredS replied to Gord P's topic in General Help
Changing OS Text size was one I remember. -
Does the main form's OnShow event only ever fire once?
FredS replied to Gord P's topic in General Help
I believe OnShow is also fired when a form is recreated, skin change is one of those, but the OS can trigger it as well. -
Parallel processing in delphi: handling ping results from multiple threads
FredS replied to Shrinavat's topic in General Help
You can make a hash of the IP and include that in the payload of the IcmpSendEcho2 call. Then compare those with the return payload and if they match you are done. Else store that info in an array or pass it to a callback to check in another/main thread. -
Wasn't another point to finally merge those internal and external issues.. now all external ones have become internal..