-
Content Count
3024 -
Joined
-
Last visited
-
Days Won
109
Posts posted by dummzeuch
-
-
I also used to have a free account. Many years ago, it was actually useful, but when they started trying to monetize it, the quality dropped. Nowadays, when I see them in the Google search results, I don't even bother clicking on it. But since I don't have a paid account I can't really say whether they are any good. My guess would be: No.
-
17 minutes ago, aehimself said:They could use this information combined with the location to show "There are redhead / brunette / etc coders in your area" popups
Dream on. It would be:
"There are mostly gray headed/bald Delphi developers in your area"
-
7
-
-
44 minutes ago, Lajos Juhász said:There is a simple solution for this problem. Reorder the packages in the group, move the design time packages to the bottom.
Yes, I could do that, and the next time I update the package group from Github, I'd have to do that all over again.
My point is: There is no simple solution built into the IDE.
-
1 hour ago, Fr0sT.Brutal said:Build everything in predefined order? Yes
Change build config in one click for all projects inside? Yes
IDK what else is needed
Click on half a million design packages and select "install". That's the most annoying part because the design packages are intermingled with the run time packages so I'd need to click on every second one.
-
2 minutes ago, Lajos Juhász said:Is it valid to name en.delphipraxis.net as a platform where you can find answers to your Delphi related problems?
Why not? I did.
-
7 hours ago, Fr0sT.Brutal said:There's a feature called - wait for it - PROJECT GROUPS! that could solve almost all of these steps.
Actually no, it doesn't.
-
14 hours ago, Fr0sT.Brutal said:Adding DCU's to libpath - yes, that's a drawback but not a big one.
I don't want the DCU directory of any 3rd party component/library in my IDE's library path. In my opinion it belongs into the individual project's search path, if that project uses the library. Actually, I prefer to have the source code in the projects path rather than the DCUs.
-
1
-
-
10 hours ago, TurboMagic said:There is a Mantis bugtracker linked on the JCL and JVCL project description pages on GitHub. That works.
Last time I tried to submit a bug report trough Mantis, somebody told me that it was sheer luck if anybody even looked at it. That was a few years ago though.
-
4 hours ago, Vincent Parrett said:I have 12 versions of delphi on my dev machine (XE2-10.4.2) all working fine. The trick is managing your system path environment variable.. which the delphi installer still rudely prepends it's entries to.. the result of which can push the path length over 2048 which on some older systems will cause issues with windows.
The trick is to not install in the default location and keep the paths as short as possible.
I can top that: 6 to 10.4 (I even considered adding Delphi 5)
And yes, the path variable becomes a pain in the lower back if you install many Delphi versions to the default directories. Unfortunately updates tend to revert any custom installation directories.
Using additional environment variables and adding only these variables to the path also helps.
-
1
-
-
No, there is no such tool and also no API, because this expert relies on the Open Tool API of the IDE. If I remember correctly there is a tool in the JCL that allows changing properties in dfm files.
(Sorry, I missed the original post.)
-
1
-
-
13 hours ago, Gord P said:I stumbled on the fact that you can have two instances (or more) of the IDE running and open up different projects. Is there any reason that this would be a bad idea?
Some configuration settings will only be saved when exiting the IDE, so they will always reflect those of the IDE instance you closed last. This also applies to some IDE plugins (e.g. GExperts).
But apart from that there is nothing to prevent you from having multiple instances active.
-
GExperts is always compiled with the latest update of any of the supported Delphi versions. That unfortunately means that it may not work if the IDE hasn’t been updated to the latest version. E.g. The latest GExperts release will not work with Delphi 10.2, but only with Delphi 10.2.3, the latest update to Delphi 10.2. This is due to changes in the runtime packages that are not always backward compatible.
Until a few years ago, this was no problem because when you bought Delphi you were automatically entitled to receive all updates for this version. E.g. if you bought Delphi 2007 you could download all updates for it and GExperts would simply work for you.
This changed when Embarcadero tried to force all their customers to buy a maintenance subscription.
Read on in the blog post.
-
2
-
-
23 hours ago, Uwe Raabe said:p Pointer. The argument must be a pointer value. The value is converted to a string of the form "XXXX:YYYY" where XXXX and YYYY are the segment and offset parts of the pointer expressed as four hexadecimal digits.
That doesn't sound like up to date documentation.
-
Format is very flexible but unfortunately there is no compile time checking for the (or has it been added in newer Delphi versions?).
Unfortunately it's also difficult to debug (from user error reports) since you don't see the format string in the error message. That's why I always hook this function and add the format string to the error message. If anybody is interested, I can post that unit here.
-
1
-
-
32 minutes ago, Der schöne Günther said:I didn't even know, altough it's properly documented:
System.SysUtils.Format - RAD Studio API Documentation (embarcadero.com)
I still find
('The result is %8.2f', [myFloat])
more readable than
('The result is *.*f', [8, 2, myFloat])
The second syntax is meant to be used with variables rather than constants.
-
1
-
-
I always put libraries into their own Subversion repository and add that as an "external" to the project repositories. This results in the libraries to be checked out into a subdirectory of the project sources. I never add the library sources to any global search paths in the IDE, but only to the respective search paths of the project. And there never as absolute but only relative paths.
E.g. if my project goes to
D :\source\myproject
the project sources (including the .dpr file) go to the subdirectory src
D :\source\myproject\src
the libraries go to the subdirectory libs
D:\sources\myproject\libs\lib1
The search path then includes
..\libs\lib1\source
I think I blogged about this a long time ago. I'll add the link if I can find it.
Found it:
http://www.dummzeuch.de/delphi/subversion/english.html
(Took me longer because it was in my old blog.)
-
If I remember correctly (from Google+ times), sharedr is written in Delphi.
And If you want a suggestion, what to write: A countdown timer (tea timer) for the lock screen. Meaning one that does not require me to unlock the phone to start a countdown. Currently I'm using Ingress Timer but that one requires me to unlock the phone.
I'd be willing to pay 5 Euros for such an app. Not sure if anybody else would, though.
-
1
-
-
getitcmd -c=onlinemode
(I'm not sure about the parameters, use the --help option to look out it up.)
-
2 minutes ago, Dany Marmur said:If the link is outside of any login barrier it's part of the actual "internet" and can be found with google.
Trying to ban people from accessing (such links) it is like offering candy to a kid and the pulling it back when the smile comes on it's face.
If you have to login to access the link, then there should be no problem re-publishing it or the security setup is nil.
Google can't find files that aren't referenced anywhere (it doesn't work with magic), so if the links are only available from pages that cannot be indexed, it can't find the links, regardless whether the files themselves are available without a logon.
There are several files on my homepage that you won't find in Google. But everybody I provide with the link can download them without login. It's not highly secure, as it would be possible to guess the urls or to brute force them but it's secure enough for my purpose. Maybe Embarcadero thinks similar?
It's convenient to be able to use a download link on a different computer than the one used to login. I usually download the ISOs for new Delphi releases with wget from a Linux server rather than having to keep my computer running until the download finishes.
-
On 4/27/2021 at 8:44 AM, arnop said:I have the same problem. Is there already a fixed GExperts version?
No, not yet. But you can always get the sources, apply the fix proposed by @merijnb and compile your own DLL.
-
As @Uwe Raabe already suggested: The commandline compiler dcc can compile single pas files to a dcu.
So you could use a batch file that only compiles the pas files and creates dcus using the command line compiler. You only need to figure out the parameters once and generate that batch file using e.g. the map file of your project(s).
No idea whether that would actually speed up the process though.
-
-
3 hours ago, Uwe Raabe said:As long as no time machine is available it doesn't help much to lament about facts that cannot be changed afterwards. (One could as well claim that there would be no with-troubles when N.Wirth didn't invent it in the first place.)
The topic is not about with being bad or how it could be made better, but about a tool to convert with statements without breaking existing code (which can be quite tricky shown by Anders).
So the solution is simple: Let's invent a time machine, go back to 1968 and kill N. Wirth. Problem solved.
Or, a bit less blood thirsty: Get him involved with a girl that keeps him from inventing Pascal. 😉
-
34 minutes ago, Stefan Glienke said:You got it almost - when using type inference on inline variables from pointers are no typed pointers but untyped so you have to explicitly state the type PFoo for your Foo variable.
Ouch. I guess this shows that I'm not used to inline variables.
Fast Pos & StringReplace for 64 bit
in Algorithms, Data Structures and Class Design
Posted · Edited by dummzeuch
Apache or MPL are the most commonly used when you want few restrictions.