-
Content Count
2750 -
Joined
-
Last visited
-
Days Won
162
Everything posted by Uwe Raabe
-
One reason can be a missing {$R *.res} in the dpr file.
-
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
Uwe Raabe replied to sp0987's topic in General Help
It must also be compiled with the same settings as the original unit. Hence my hint to the BuildRTL projects. -
At least not short term.
-
Looks similar to this report: https://quality.embarcadero.com/browse/RSP-42714
-
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
Uwe Raabe replied to sp0987's topic in General Help
This little utility always worked pretty well for me: RunAsDate -
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
Uwe Raabe replied to sp0987's topic in General Help
What are you trying to achieve with this? -
Changes in System.sysutils.pas were not reflecting in other unit in Delphi 11
Uwe Raabe replied to sp0987's topic in General Help
The source\rtl folder contains projects to build the RTL for different platforms. -
Possible Delphi 12.1 inheritance bug, could someone test also
Uwe Raabe replied to Tommi Prami's topic in VCL
I cannot reproduce here with project and steps from the QP issue. Looks like it is caused by something in your system. -
How to write several SetAs...Array procedures ?
Uwe Raabe replied to RayTmsk's topic in RTL and Delphi Object Pascal
That is true for strings, but nor for dynamic arrays. -
Bug: Lock Controls is not restored at IDE start!
Uwe Raabe replied to PeterPanettone's topic in Delphi IDE and APIs
Seems someone already filed a report 8 years ago: https://quality.embarcadero.com/browse/RSP-13448 -
Passing info from build configurations to code
Uwe Raabe replied to ErikT's topic in Delphi IDE and APIs
Edit the internal build configuration and add __BuilderGUI to Conditions. -
ActionList Editor: New Standard Action...
Uwe Raabe replied to PeterPanettone's topic in General Help
Perhaps they aren't working with standard actions either? -
ActionList Editor: New Standard Action...
Uwe Raabe replied to PeterPanettone's topic in General Help
The new QP doesn't support voting and I cannot see a benefit in sharing this. -
ActionList Editor: New Standard Action...
Uwe Raabe replied to PeterPanettone's topic in General Help
I am happily taking that task for you. Can you just list the installed packages accountable for that number of standard actions? I'm not sure if I was able to identify all of them. -
ActionList Editor: New Standard Action...
Uwe Raabe replied to PeterPanettone's topic in General Help
That is probably true, but it isn't wrong in the first place. As real-worlds tend to differ significantly between users, it would be tedious and most likely incomplete what Embarcadero can do about simulating these scenarios and test every and all IDE functionality with it. Usually these real-world problems show up in beta tests, where a bunch of developers test in their own environment, but obviously in this case they didn't. This can be caused by people with multiple libraries installed registering a lot of standard actions just not using standard actions. That is the point where QP reports from normal users come into play. Without anyone complaining about an issue via the official channel there is no trigger to analyze the problem and fix it. I suggest to file a QP report about the visual delay and a separate report about the search/filter box. The request for a busy indicator would be moot when the performance problem is be fixed, which I would favor over that indicator. -
ActionList Editor: New Standard Action...
Uwe Raabe replied to PeterPanettone's topic in General Help
There are several QP entries about that. It has been fixed in Delphi 12. It is one of the driving issues for me for moving to D12. -
ActionList Editor: New Standard Action...
Uwe Raabe replied to PeterPanettone's topic in General Help
I still suggest to file a QP report if it doesn't exist yet. Embarcadero will never see this delay as long as they only test with their standard actions. Without such a QP report nothing will change. -
ActionList Editor: New Standard Action...
Uwe Raabe replied to PeterPanettone's topic in General Help
Is anyone aware of a QP entry for that? -
You can find some hints in the release notes for 11.2: 11 Alexandria - Release 2
-
Try Ctrl-Shift-K-T
-
It made use of canusbdrv.dll and a Delphi wrapper (see attachment). This was sometimes around 2008, so most likely that interface may have changed since then. uCanUsbDll.pas
-
It just looks like the easiest to implement, but most of the time it turns out to be the hardest to get it done right. Another approach is to wrap the code into some TThread.ForceQueue construct. F.i. a loop calling Applicaton.ProcessMessages can be refactored like this: procedure DoAllTheThings; begin DoSomething; while DoWeNeedToWait do Application.ProcessMessages; DoWhatEverIsNecessary; end; Refactored: procedure DoAllTheThings; begin DoSomething; DoTheRest; end; procedure DoTheRest; begin if DoWeNeedToWait then TThread.ForceQueue(nil, DoTheRest) else DoWhatEverIsNecessary; end; All the code is still executed in the main thread, but there is no loop blocking anything.
-
That is just like Application.ProcessMessages works: It processes the messages in the queue. If one of those messages calls Application.ProcessMessages in a loop, the outer Application.ProcessMessages will only get control back when that inner loop ends and the event call returns. IMHO, you can safely remove the frivolous in your last statement.
-
Record operator overloading, can use undocumented return type
Uwe Raabe replied to Khorkhe's topic in RTL and Delphi Object Pascal
Although it is not written explicitly in the docs I assume the Logical operators are used as if they were Bitwise operators when the condition above is not met and no corresponding Bitwise operators are declared. Nevertheless could you achieve the same using Bitwise operators in the first place.- 6 replies
-
- record
- operator-overloading
-
(and 1 more)
Tagged with:
-
The first patch for the just released RAD Studio 12.1 Athens is available: RAD Studio 12.1 Athens Patch 1 Available