-
Content Count
3064 -
Joined
-
Last visited
-
Days Won
112
Everything posted by dummzeuch
-
Generic from the RTL for sorted list of objects
dummzeuch replied to dummzeuch's topic in RTL and Delphi Object Pascal
Hm, you declared K and V as class. An oversight? Changing this to TObjectDictionaryWithDuplicateObjects<K; V:class> (semicolon instead of comma) made it work (or rather compile) for me. -
Generic from the RTL for sorted list of objects
dummzeuch replied to dummzeuch's topic in RTL and Delphi Object Pascal
I'll try that dictionary + object list approach tomorrow. It's actually much neater than the sorted object list I was thinking about, and should also perform better, but that's not a real concern as I expect only a few dozen entries for the current need. But on the other hand, I'll probably start using this in a lot of other cases in the future. -
Generic from the RTL for sorted list of objects
dummzeuch replied to dummzeuch's topic in RTL and Delphi Object Pascal
Hm, shouldn't freeing the dictionary automatically free the object lists stored in it, which would then in turn free the objects stored in those? So there should be no need for the MyFreeObjectsFromList procedure, or am I overlooking something? -
Generic from the RTL for sorted list of objects
dummzeuch replied to dummzeuch's topic in RTL and Delphi Object Pascal
You're still miffed, apparently. -
What are the correct settings for "Code inlining control"?
dummzeuch replied to Der schöne Günther's topic in RTL and Delphi Object Pascal
You might want to turn inlining on for debug builds if what you are trying to debug might be releated to inlining. But in most cases I would also turn it off because it is really annoying if you can't step into a function because it was inlined. -
I just tried it in Delphi 10.2: I can only rename identifiers, it doesn't work for any other text or even special characters. But even with this limitation it is useful. And I know now, why I haven't used it: It's available since Delphi 2010 and until a while ago I was using Delphi 2007 for most projects.
-
I didn't even know it has a keyboard shortcut. I have never used it.
-
I'm sure I saw a similar functionality demonstrated in the Delphi IDE. Was it called SyncEdit? https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Sync_Edit_Mode_(Delphi,_C++) An older version of the documentation links to a video: But that's only for identifiers, not for generic text.
-
GExperts does not have this functionality.
-
Does ChatAI make StackOverflow obsolete ?
dummzeuch replied to david_navigator's topic in Tips / Blogs / Tutorials / Videos
Sorry, I couldn't resist letting ChatGPT write a reply to this: (I'll try to resist in the future though because I don't want this to escalate into a thread that consists of ChatGPT generated stuff only.) -
And those command line compilers do not use the dccxxxx.dll files?
-
What they mean is "Don't use a patched IDE to produce anything (DLL, Exe, DCUs, BPLs whatever) that's going to be used in production".
-
For all I know about that patch it might replace a dll that the commandline compiler uses.
-
Does anybody know whether this patch also affects commandline builds? For me it would be a huge inconvenience to be forced to uninstall the patch every time I want to do a production build. But having a better working less broken IDE is definitely desirable.
-
Is asked ChatGPT: What is Internet Component Suite for Delphi?
dummzeuch replied to FPiette's topic in ICS - Internet Component Suite
Yes, that's exactly what I did. And then I asked the first question again and got the same wrong answer again. So it doesn't "learn" but simply adjusts the answer when you tell it it's wrong, but not for the actual question but only as a reply to you telling it that the answer is wrong. Question -> wrong answer -> "I's wrong, beause ..." -> correct answer (maybe, otherwise rinse an repeat) -> orignal question -> original wrong answer -
Is asked ChatGPT: What is Internet Component Suite for Delphi?
dummzeuch replied to FPiette's topic in ICS - Internet Component Suite
Ask it that very same question again, it will then fall back the the same wrong answer as the first time or possibly modify it slightly but still be wrong. I tried that several times with different questions from different domains (and within the same session as it only "learns" within such a session). -
"Always break line between else and if" vs. comments
dummzeuch replied to uligerhardt's topic in GExperts
No, that's not the case. But the Unit Tests don't use the DLL, so you can create test cases for the unit tests and then implement the code directly using that program. -
"Always break line between else and if" vs. comments
dummzeuch replied to uligerhardt's topic in GExperts
No. It's something totally unrelated. -
"Always break line between else and if" vs. comments
dummzeuch replied to uligerhardt's topic in GExperts
If you really want that kind of formatting: I am accepting patches. -
"Always break line between else and if" vs. comments
dummzeuch replied to uligerhardt's topic in GExperts
There is no option (as far as I know, I might have missed it). And I remember seeing a comment in the original formatter sources from Egbert van Nes that he implemented this behaviour because he couldn't get the formatter handle these comments in any useful manner without breaking the source code. If anybody really wants to use that kind of comments: I am accepting patches. -
Alternatively update to the current sources, compile a new DLL and try again. I just commented out these experts. They are more trouble than they are worth.
-
Check whether the two editor experts "Goto Previous Modification" and "Goto Next Modification" are enabled. If they are, disable them and see whether the problem goes away. And please report the result.
-
forum loading previous message when selecting [create new topic]
dummzeuch replied to JohnLM's topic in General Help
Are you using a mobile browser? If yes: I have exactly the same problem. The only way I found was to create a new post in a desktop browser and then delete the old stuff. I found no way to do that in the mobile browser (on Android). -
Should Ctrl+Leftclick on inherited work in Delphi 11?
dummzeuch posted a topic in Delphi IDE and APIs
I just noticed that in Delphi 11 hovering the mouse over the inherited keyword in a method while pressing the Ctrl key underlines that keyword just like it does with an identifier. But clicking on it does nothing while for an identifier it takes me to the declaration or implementation. Should this also work for inherited? Edit: It does work in other methods, I apparently tried it first on a method where it doesn't work for whatever reason. So, to answer the question: Yes, it should. -
win32 exe compiled in Delphi11 does not run on W2000
dummzeuch replied to rudy999's topic in Windows API
There are computers running old versions of Windows (or in our case even DOS) that cannot be upgraded easily, usually because of some special hardware requirements. As long as these commuters are not connected to the network, there is no problem with running old OSes. We still run 2 computers with Windows XP and 3 with DOS. The former will hopefully be replaced with Windows 10 this year, but the DOS machines will probably stay for some more years. At least one is required for the maintenance of some specialized equipment that is actually used with other computers that run Windows 10. Oddly enough, you can still buy hardware that is DOS compatible, but the supply for Windows XP compatible hardware is drying up.