Leaderboard
Popular Content
Showing content with the highest reputation on 03/04/21 in Posts
-
Read out signed executable certificate possible?
Angus Robertson replied to KodeZwerg's topic in Windows API
I have a component that checks signing certificates: https://www.magsys.co.uk/delphi/magtrustchk.asp Angus -
Read out signed executable certificate possible?
FPiette replied to KodeZwerg's topic in Windows API
Probably what you are looking for is explained in Microsoft documentation. -
More expansion into the Dev space by Idera https://www.businesswire.com/news/home/20210302005147/en/Idera-Inc.-Acquires-PreEmptive-Adding-Security-Tools-Trusted-by-Fortune-500-Businesses-to-DevOps-Business-Unit
-
I will be less active for a few weeks
Bill Meyer replied to Lars Fosdal's topic in Community Management
Be well, Lars, and recover fully and soon. -
I will be less active for a few weeks
baeckerg replied to Lars Fosdal's topic in Community Management
Stay well and speedy full recovery -
Annoying IDE behavior changes in 10.4.2
Darian Miller replied to Wagner Landgraf's topic in Delphi IDE and APIs
For me, I hope they don't waste their resources on it and remove the classic code insight option in 10.5. They are taking large swipes at piles of technical debt. Of course, they are adding to the pile as well. It certainly seems like more is coming off the pile than is being added. -
Delphi 10.4.2 application switch after using open file expert
dummzeuch replied to merijnb's topic in GExperts
Thanks. I understood what the bug report said. I just can't reproduce it on my computer. That doesn't mean that I will ignore it. @merijnbs workaround, while it probably works, is not really one I would like to implement. -
I will be less active for a few weeks
Clément replied to Lars Fosdal's topic in Community Management
Stay safe and I wish you a full recovery! -
I will be less active for a few weeks
Attila Kovacs replied to Lars Fosdal's topic in Community Management
just got the footage per FedEx -
I am sorry to hear this. I also wish you a fast and full recovery.
-
RunElevatedSupport.pas is what I use. Call IsElevated (Boolean) thats all you need to do. Also offers to elevate code pieces. I love it.
-
I will be less active for a few weeks
Stéphane Wierzbicki replied to Lars Fosdal's topic in Community Management
Take care ! -
I will be less active for a few weeks
Attila Kovacs replied to Lars Fosdal's topic in Community Management
Wish you a full recovery. -
Annoying IDE behavior changes in 10.4.2
Wagner Landgraf replied to Wagner Landgraf's topic in Delphi IDE and APIs
LSP is now way better than the previous one. And it looks like Embarcadero is just not touching the old one anymore, so for example I see IDE crashes in some situations with the Classic code insight, and I'm afraid that will never be fixed now. Installing MMX "solves" the issue temporarily, until they hopefully fixes that in 10.5. -
Why is this code not thread safe (Delphi 7)
AlexBelo replied to Yaron's topic in Algorithms, Data Structures and Class Design
No. 🙂 My allegation about lists of objects is not right. (I investigated this problem too long ago; memory fail me.) More accurate info: unit Graphics; { FreeMemoryContexts is called by the VCL main winproc to release memory DCs after every message is processed (garbage collection). Only memory DCs not locked by other threads will be freed. } procedure FreeMemoryContexts; var I: Integer; begin with BitmapCanvasList.LockList do try for I := Count-1 downto 0 do with TBitmapCanvas(Items[I]) do if TryLock then try FreeContext; finally Unlock; end; finally BitmapCanvasList.UnlockList; end; end; unit Controls; procedure TWinControl.MainWndProc(var Message: TMessage); begin try try WindowProc(Message); finally FreeDeviceContexts; FreeMemoryContexts; end; except Application.HandleException(Self); end; end; So main thread (where MainWndProc works) fairly often deselects unlocked memory contexts. It causes all kinds of problems in background threads which use bitmaps without locking. -
Refactor menu grayed out for Rename...
Rob Truby replied to Mr. Daniel's topic in Delphi IDE and APIs
Somewhat related, but for a different refactoring. Using the inline var definition breaks the extract method refactoring. procedure Test; var Value: Integer; begin Value := 0; for var i := 0 to 10 do Inc(Value); end; For the above you can't extract Value := 0; as a method. If i is defined in the var section you can. procedure Test; var i, Value: Integer; begin Value := 0; for i := 0 to 10 do Inc(Value); end; I have submitted a report for this RSP-33176 -
Delphi 10.4 Update 2 - Getting error E2411 Packaged units must refer only to packaged units
psla314 replied to psla314's topic in RTL and Delphi Object Pascal
UPDATE - I found a fix/workaround. It appears the order of the packages matter now in project options. I changed the order of the packages from vcl;rtl;vclx -> rtl;vcl;vclx and the problem is solved. This worked fine in 10.2 so some changes must have been made to how packages are loaded/found. -
We now have six pages of first impressions. This topic has become, as so often with a release, a melting pot of all possible aspects. But it doesn't get any better or clearer and doesn't gain any added value for someone who wants to inform himself about the new release from this page six on (probably already before). Even if it may be a "first impression" for you individually, please create a new topic for your specific question. I will leave this topic open for now so that you can quickly finish acute sub-topics.
-
Annoying IDE behavior changes in 10.4.2
c0d3r replied to Wagner Landgraf's topic in Delphi IDE and APIs
I can confirm all as well, went back to Classic, don't see why I should use LSP. -
Indy is on GitHub: https://github.com/IndySockets/Indy/
-
Annoying IDE behavior changes in 10.4.2
MarkShark replied to Wagner Landgraf's topic in Delphi IDE and APIs
I can confirm the change as well. I've also noticed that the Ctrl-Alt-Up and Ctrl-Alt-Down keys don't seem to navigate between methods anymore (although Ctrl-Alt-Mousewheel still seems to do it.) I was going to suggest it to jump to the first line after begin, but it's gone. So if you want the old behavior you can do Ctrl-Shift-Up, Ctrl-Shift-Down, and then Ctrl-Alt-Mousewheel up! Simple, right? (Wink) Method Hopping: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Code_Navigation_(IDE_Tutorial) -
Why is this code not thread safe (Delphi 7)
Sherlock replied to Yaron's topic in Algorithms, Data Structures and Class Design
This is more of a style thing, but please consider human readability and write while not Terminated do -
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.