FreeDelphiPascal
Members-
Content Count
85 -
Joined
-
Last visited
Community Reputation
19 GoodTechnical Information
-
Delphi-Version
Delphi 10.4 Sydney
Recent Profile Visitors
-
Parallel Resampling of (VCL-) Bitmaps
FreeDelphiPascal replied to Renate Schaaf's topic in I made this
It should be put under test 🙂 🙂 🙂 -
Most libraries are for Windows but you can find also some PDF libraries that are cross-platform.
-
Delphi 10.4.1 LIBSUFFIX AUTO
FreeDelphiPascal replied to pyscripter's topic in RTL and Delphi Object Pascal
$(Auto) is a new environment variable, introduced in Delphi 10.4. Embarcadero didn’t make a big show around it so it went unnoticed by most programmers. But don’t ignore it! It is extremely useful for packages, where it can be used as an automatic version suffix in the package’s name. How does it work? $(Auto) will be automatically substituted by Delphi with compiler’s version number: “270” for Delphi 10.4 “280” for Delphi 11 Etc. When used in the Lib Suffix field, Delphi will automatically add the compiler version number at the end of the BPL name. For example, if my Light Saber package is named LightSaber.DPK, without this automatic suffix, the binary files will be called LightSaber.BPL (and DCP). The name will be static no matter where I compile the library (Delphi Sydney or Alex). So, if I have two Delphi versions installed in parallel, the resulted BPLs will have the same name and we would not know which is for which Delphi version. But with the auto suffix the output file will be called LightSaber270.BPL under Delphi Sydney and LightSaber280.BPL under Delphi Alex. Without $(Auto), we would have to manually update the right version suffix with each new Delphi release, or we would need packages with different names (LightSaber270.DPK, LightSaber280.DPK, LightSaber290.DPK, etc). Note that when we use the LightSaber library in the requires section of another package, we specify it under its standard (non-suffixed) name. Delphi Sydney will correctly look for a file named LightSaber270.bpl and Delphi Alex for LightSaber280.bpl. Requires VclSmp, Vclwinx, LightSaber; // not LightSaber270 ! Using a library with multiple Delphi versions There are multiple reasons for installing and using multiple Delphi versions in parallel: Testing a new Delphi release to see if it is worth purchasing it. Testing a new Delphi release to see if your code still compiles without issues. For library developers, testing if your library compiles with all (new and old) Delphi versions where you want to deliver/sell your library. Hint: if you purchase a license for a specific Delphi version, you have automatic access to all versions below that. With the four environment variables described above, we can have fully automatic naming for the output files. Each DCU file will go to the correct output folder and each BPL/DCP file will be correctly suffixed. Now we can truly have multiple Delphi versions installed and functioning in parallel. Source: https://gabrielmoraru.com/auto-one-package-to-rule-them-all/ -
Delphi TOIOBE index lifted in May 2022?
FreeDelphiPascal replied to wuwuxin's topic in RTL and Delphi Object Pascal
Fortran and Cobol is heavily used by the banks in USA (and maybe Europe also?) Every single cent you transfer in USA goes through a Fortran program. I think it is the same in the administrative sector (USA). -
Delphi TOIOBE index lifted in May 2022?
FreeDelphiPascal replied to wuwuxin's topic in RTL and Delphi Object Pascal
As I said before, Tiobe is very unreliable. And as a "bonus" the people are Tiobe (which are C++ people) hate Delphi. Not "generally" speaking, but particularly speaking. So, there is no reason to like or to trust Tiobe. 🙂 BUT it is important for us (Delphi devs) because now it will create some hype around Delphi. By entering top 10, people will start discussing around Delphi. -
Delphi TOIOBE index lifted in May 2022?
FreeDelphiPascal replied to wuwuxin's topic in RTL and Delphi Object Pascal
Delphi just entered Top10 Tiobe this month! -
I also don't understand why they create this kind of darkness... unless it is for the reasons like those above... I see Emba like a dark cathedral, with many corners, and people are walking in there quietly and with candles in their hands. It is all full of candle smoke. From time to time somebody is quietly coughing and the others are looking bad at him. The windows are covered with black drapes. Outside in the sun, the children are playing. They are happy now, but the know at one time, night will come and maybe the people in the cathedral will save them. C# is upon us.. C# is upon us.... C# is upon us.......
-
If it is not bullsh*t (obviously a road map cannot be legal binding especially when they have a "safe harbor" section), then it is sad. Very sad. 😞
-
Hi Recently Marco Cantu something about a road map in his blog. (There is a link to a video there. I haven't watch it yet.) https://learndelphi.org/everything-you-need-to-know-about-future-delphi-development/ But I cannot find any official 2024 roadmap on Emba's website. https://blogs.embarcadero.com/?s=roadmap The old roadmap is from 2020 and the "latest news" it has is about Delphi 10.4 and a fictional 10.5. So, there is an official roadmap document? [UPDATE] Ups. Disregard all that! The page does not have a date (shame on them, this is not how you build a "news" page), but the video caption shows Delphi 11. So, it cannot be new. But if you have a link to a roadmap it would be cool to share it. The 2020 roadmap is definitively "expired".
-
Question about Delphi class (static) constructor
FreeDelphiPascal replied to wuwuxin's topic in Algorithms, Data Structures and Class Design
Yeah, my interpretation was wrong. It doesn't exactly makes the connection (or disconnection) between the class constructor and the initialization section. The exact quote is: "Note that a class constructor only executes if the class is used. So unlike a normal initialization section of a unit (which always executes), it only executes if the class is used somewhere." Yesterday I was reading more about class conductors, and I see his statement in a new light. I think, to this point, the https://blog.therealoracleatdelphi.com/2009/09/ is still the best resource available about class constructors. https://stackoverflow.com/questions/39471864/delphi-constructor-and-class-constructor -
Question about Delphi class (static) constructor
FreeDelphiPascal replied to wuwuxin's topic in Algorithms, Data Structures and Class Design
Rudy Velthuis said on SO that "Class constructors are not executed on unit "initialization" but when the class is referenced" -
Delphi takes 9 seconds to start/shutdown an empty application
FreeDelphiPascal replied to FreeDelphiPascal's topic in General Help
I have tried on different laptop with Win11 this time, different mouse. Activating "scroll a page at a time" does nothing in Delphi IDE, exactly as it does in Win 10. So, something must be broken in Windows 10 (and up). -
When will we have a 64-bit IDE version ?
FreeDelphiPascal replied to luciano_f's topic in Delphi IDE and APIs
new 64 bit compiler (only available in Enterprise Enterprice) https://www.embarcadero.com/products/rad-studio/whats-new-in-12-athens 🙂 -
When will we have a 64-bit IDE version ?
FreeDelphiPascal replied to luciano_f's topic in Delphi IDE and APIs
Why would you have 30 000 000 loc to compile in one single project? Don't you use packages/libraries? -
Delphi takes 9 seconds to start/shutdown an empty application
FreeDelphiPascal replied to FreeDelphiPascal's topic in General Help
PS: if still have horrible refresh issues when I scroll down the text in the IDE. If anyone has a fix for this, please let me know. In Win XP I was fixing this by disabling "smooth scroll" in "performance". Now I disabled almost everything and still takes 3-4 seconds to scroll one screen of text: PS: it happens only on mouse scroll. Scrolling with arrows and pg up/dwn is fast. I will try tomorrow this: https://www.thewindowsclub.com/change-mouse-scroll-speed-windows