-
Content Count
2985 -
Joined
-
Last visited
-
Days Won
167
Anders Melander last won the day on October 9
Anders Melander had the most liked content!
Community Reputation
2131 ExcellentTechnical Information
-
Delphi-Version
Delphi 12 Athens
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Delphi Migration Pitfalls and How to Avoid Them
Anders Melander replied to Serge Pilko's topic in Tips / Blogs / Tutorials / Videos
The problem with sub-forums is that the most active people here doesn't really use them (is my impression, at least); They use the flat view where all posts are visible, ordered by activity date. And the ignore functionality of the forum doesn't work that well. Even if you ignore a user or a topic, you still get to see the topics and that they post. Unfortunately it's apparently beyond the Invision Community (the forum software) developers to implement a property ignore/mute/block function. It's been requested for ages. Usenet worked so much better. -
Copy a table from one database into another - [Solved]
Anders Melander replied to JohnLM's topic in Databases
The solution you are trying is for MySQL and will not work with an Access database. Apart from that, possible solutions depends on your answers to Lars' questions. -
Delphi Migration Pitfalls and How to Avoid Them
Anders Melander replied to Serge Pilko's topic in Tips / Blogs / Tutorials / Videos
I actually don't mind on-topic advertisements that much. After all, it's no different than 3rd party vendors announcing their libraries and not really participating beyond that. We got a couple of those already *cough* TMS *cough*. What I do mind is the dishonesty of pretending to discuss a topic but actually only drive traffic to their site in order to harvest leads. It's trolling. I agree that the topic was interesting, and I actually started to write a reply describing our own experiences and solutions, but then I noticed that neither the post nor the page that it links to actually contain any useful information; It's just a long collection of keywords and the whole message can be accurately summarized as "updating code can be problematic". It doesn't contain any actual solutions and some of the things that it says are just plain nonsense. The other "articles" posted here and on their site are just more of the same: Here are some words, and now enter your name and email to get access to an article with more information on this topic that we just failed to say anything useful about. Wow! F*ck 'em. I think we should. We don't allow spam and this is spam - even if it pretends to be something else. -
Removing semi transparency in background compile window
Anders Melander replied to Roger Cigol's topic in General Help
I'm guessing you inspected the run-time properties because this is what the form looks like in the binary (coreide370.bpl😞 object ProgressForm: TProgressForm Left = 201 Top = 114 ActiveControl = CancelButton BorderIcons = [] BorderStyle = bsDialog Caption = 'Compiling' ClientHeight = 340 ClientWidth = 580 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -12 Font.Name = 'Segoe UI' Font.Style = [] PopupMode = pmAuto OnActivate = FormActivate OnClose = FormClose OnCreate = FormCreate OnDestroy = FormDestroy OnShow = FormShow TextHeight = 15 ... end If it was a property stored in the form we could have disabled it with a custom resource module (e.g. coreide370.foo). Well, I guess we've all (those of us that knew about it) thought that the AlphaBlend feature was a cool thing (I've certainly been there) until we actually tried it. If only there was some easy way of getting feedback on stuff like that before you release it into the wild. If only... -
Removing semi transparency in background compile window
Anders Melander replied to Roger Cigol's topic in General Help
It's being set in code at run-time (i.e. it's not just a property that we can patch on the form) so my best guess is that you'd need to intercept the Windows API call that turns it on. As far as I can tell there's no registry value to control it. I've used procmon to trace all registry access during IDE startup, and when the compile progress form is shown, and the only relevant entry being read was the one that controls background compilation. -
Delphi Migration Pitfalls and How to Avoid Them
Anders Melander replied to Serge Pilko's topic in Tips / Blogs / Tutorials / Videos
TL;DR: Send us your email address so we can try to sell you our services. Am I wrong? -
Removing semi transparency in background compile window
Anders Melander replied to Roger Cigol's topic in General Help
https://www.google.com/search?q=delphi+semi+transparent+form which leads to https://docwiki.embarcadero.com/Libraries/en/Vcl.Forms.TForm.AlphaBlendValue Do your users a favor: Play around with it a bit and then never use it again -
LOL, nope. This is a losing battle. They'll only stop when the have enough money (read: never). The free Cloudflare plan could be a (temporary) solution but I'm not sure if it will block these particular bots.
-
Removing semi transparency in background compile window
Anders Melander replied to Roger Cigol's topic in General Help
More likely Star Wars. I don't think early Star Trek had anything like it. -
Removing semi transparency in background compile window
Anders Melander replied to Roger Cigol's topic in General Help
I didn't bother looking. A full build of 2.5 million lines of code takes 30 seconds on my new system so I don't actually need the feature. But I can see that you're compiling C++ code so I guess your compile time is slightly longer 🙂 -
Removing semi transparency in background compile window
Anders Melander replied to Roger Cigol's topic in General Help
Yes! So annoying; The change nobody asked for and I immediately turned off background compile. -
Best strategy to set up global Release/DebugDCU paths in the IDE, as example for Spring4D DCUs
Anders Melander replied to HaSo4's topic in Delphi IDE and APIs
...which is what I use in my launcher script: Copy the base registry tree (e.g. HKCU\SOFTWARE\Embarcadero\BDS\37.0) to another tree (e.g. HKCU\SOFTWARE\Embarcadero\FooBar\37.0) Remove all entries from the Known Packages key, except those that start with $(BDSBIN) Add all the BPLs in the Packages subfolder to Known Packages Launch Delphi with -r to use my alternate registry path. I would love that! It can really clutter a library source folder when you have to keep all the units in one single folder just so the user doesn't have to add all the sub-folders to the search path. -
Best strategy to set up global Release/DebugDCU paths in the IDE, as example for Spring4D DCUs
Anders Melander replied to HaSo4's topic in Delphi IDE and APIs
I don't explicitly handle dependent DLLs but... BPLs are basically just DLLs and, since one package can depend on another. I handle that by adding the package folders to the system search path. This also takes care of dependent DLLs. Note that the search path is altered only for the current session (read: the running Delphi IDE process), so the global environment isn't modified. -
Best strategy to set up global Release/DebugDCU paths in the IDE, as example for Spring4D DCUs
Anders Melander replied to HaSo4's topic in Delphi IDE and APIs
I don't know what you mean. Everything is under revision control, including 3rd party source (for build) and package binaries (for design-time). Is that meant to impress? The whole system obviously works better for large projects than for small ones as it takes some time to prepare for use. I wouldn't bother with adhoc projects. Yes, but fortunately we no longer do things like we did in the 90s when Delphi was designed. Delphi has just completely failed to evolve in this area. -
Best strategy to set up global Release/DebugDCU paths in the IDE, as example for Spring4D DCUs
Anders Melander replied to HaSo4's topic in Delphi IDE and APIs
Read what I wrote again. With the system I described, a project can be deployed and ready to use anywhere, by anybody, in minutes. You just need to have Delphi installed. We use the exact same setup with build servers (with only Delphi installed) and with team developers. Most developers just pull from the repo, start Delphi with the script and they are ready to go. No need to setup or install anything.