Posts

Delphi Developers Archive (Experimental)

Delphi Developers Archive (Experimental) https://delphi-developers-archive.blogspot.com The posts are searchable by tag list or free text search. FYI - This is work in progress, and I hope to improve the following issues: - Some posts have erroneous titles - Some posts are missing attribution of the original poster - Some 600 posts are missing due to an inexplicable quota error during import Comments on the archived posts are currently disabled until the import is finalized. https://delphi-developers-archive.blogspot.com

The Delphi Developers Community is now closed for new posts.

Image
The Delphi Developers Community is now closed for new posts. Please see sticky post for alternate sites / forums / communities.

The community is now closed for new posts.

The community is now closed for new posts. See sticky post for details. Feel free to leave everyone a pointer to your new site / blog / page / home in the comments of that sticky. I am exploring ways to archive the community in a searchable format, but the final form has not been decided yet. If you want to archive the Community for your own perusal, this can now be done with the Google+ Exporter tool. Download here: https://gplus-exporter.friendsplus.me/ Changelist here: https://plus.google.com/+FriendsPlusMe/posts/jSFYkqFBMJZ My own notes on using Google Takeout and Google+ Export https://larsfosdal.blog/2018/12/22/moving-away-from-google/ https://gplus-exporter.friendsplus.me/

The community is now closed for new posts. See sticky post for details. Feel free to leave everyone a pointer to your new site / blog / page / home in the comments of that sticky.

The community is now closed for new posts. See sticky post for details. Feel free to leave everyone a pointer to your new site / blog / page / home in the comments of that sticky. I am exploring ways to archive the community in a searchable format, but the final form has not been decided yet. If you want to archive the Community for your own perusal, this can now be done with the Google+ Exporter tool. Note that the current 1.5 version has a bug in the WXR format with regards to WP post serial numbers, which will be fixed soon, according to the authors. Download here: https://gplus-exporter.friendsplus.me/ Changelist here: https://plus.google.com/+FriendsPlusMe/posts/jSFYkqFBMJZ My own notes on using Google Takeout and Google+ Export https://larsfosdal.blog/2018/12/22/moving-away-from-google/ https://gplus-exporter.friendsplus.me/

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) Prompted by a suggestion from Peter Aschbacher I just added a new feature to my Delphi Help Expert: You can now force it to use the default web browser instead of the Welcome Page for web URLS. This is a global setting. I also fixed a bug I recently… http://blog.dummzeuch.de/2019/01/01/new-option-in-delphi-help-expert-to-open-in-web-browser/

OpenAPI and Swagger support is coming to town!

OpenAPI and Swagger support is coming to town! https://components4developers.blog/2018/12/31/rest-easy-with-kbmmw-20-openapi/

Where Delphi Developers Live - 2018

Image
Where Delphi Developers Live - 2018 (based on delphihtmlcomponents.com orders, top 15 countries)

Title

Image
As 2018 ebbs out, so does Google+ and Delphi Developers. As mentioned earlier, new posts will go to moderation, starting January 1st, and they will not be approved. The reason is that while I focus on migrating the 12K+ posts, I don't want to maintain the community at the same time. If you want to leave a forwarding address for your new home / page / blog, this is the time and place to do it. Originally shared by Lars Fosdal We have moved to https://en.delphipraxis.net ! Starting January 1st, 2019 - the G+ Delphi Developers Community will be closed for new posts and new members. Dec 11: Note that Google has moved the G+ closing date to somewhere in late March. For details on how to register at Delphi PRAXiS, please see below. If you are a new user: https://en.delphipraxis.net/register To make sure that you understand what your sign up for, these are the service terms: https://en.delphipraxis.net/terms/ and these are the rules of the house: https://en.delphipraxis.net/guidelines/ I

As 2018 ebbs out, so does Google+ and Delphi Developers.

Image
As 2018 ebbs out, so does Google+ and Delphi Developers. As mentioned earlier, new posts will go to moderation, starting January 1st, and they will not be approved. The reason is that while I focus on migrating the 12K+ posts, I don't want to maintain the community at the same time. If you want to leave a forwarding address for your new home / page / blog, this is the time and place to do it. Originally shared by Lars Fosdal We have moved to https://en.delphipraxis.net ! Starting January 1st, 2019 - the G+ Delphi Developers Community will be closed for new posts and new members. Dec 11: Note that Google has moved the G+ closing date to somewhere in late March. For details on how to register at Delphi PRAXiS, please see below. If you are a new user: https://en.delphipraxis.net/register To make sure that you understand what your sign up for, these are the service terms: https://en.delphipraxis.net/terms/ and these are the rules of the house: https://en.delphi

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) In yesterday’s update of the Delphi Custom Container Pack to support Delphi 10.3 Rio I had broken it for older Delphi versions. It no longer compiled for Delphi 2005 to 10.2. This is now fixed. http://blog.dummzeuch.de/2018/12/30/delphi-custom-container-pack-fixed-for-delphi-2005-to-10-2/

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) A while ago, after my post on Known IDE Packages in Delphi I wrote a the KnownIdePackagesManager tool which lists those packages, allows to disable and enable some of them and also set the package description for those packages that don’t have a… http://blog.dummzeuch.de/2018/12/29/delphi-known-ide-packages-manager-updated-to-delphi-10-3-rio/

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) I have updated my Delphi Help Expert to support Delphi 10.3. http://blog.dummzeuch.de/2018/12/29/delphi-help-expert-updated-for-delphi-10-3/

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) I have just updated my dzDelphiPaths tool to support Delphi 10.3. http://blog.dummzeuch.de/2018/12/29/dzdelphipaths-tool-updated-for-delphi-10-3-rio/

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) I have just updated the Delphi Custom Container Pack sources to support Delphi 10.3 Rio. This time it required than creating the packages for the new version and adding the latest version of the Delphiversions.inc file. When loading the designtime package… http://blog.dummzeuch.de/2018/12/29/delphi-custom-container-pack-updated-for-delphi-10-3-rio/

I'm having an error when installing Jedi JVCL components. BTW I'm using the latest source from Github.

I'm having an error when installing Jedi JVCL components. BTW I'm using the latest source from Github. I succeed installing JCL + JVCL on stock RIO version (without the december patch). I feel that I'm getting this error since installing the december patch Here is the error message from JVCL installer [Compiling: Packages] [Compiling: JvCore260.bpl] "C:\Program Files (x86)\Embarcadero\Studio\20.0\Bin\dcc64.exe" JvCore.dpk Compiler Speed Pack dev 2018-12-11-2343 - failed : Replace compiler code with faster POPCNT functions [Compiler64.POPCNT] failed : Faster BitVecEnum implementation [Compiler64.X86.BitVecEnum] failed : Remove double tree iteration in ExpandStmtList [Compiler64.X86.ExpandStmtList] failed : HwReg function optimizations [Compiler64.X86.HwReg] failed : IterateNode optimizations/shortcuts [Compiler64.X86.IterateNode] failed : Remove unnecessary ZeroMemory from NewMemBlock [Compiler64.X86.NewMemBlockZero] failed : Move invariant above the loop in Prepar

CE Tokyo and Rio and FastReport.

CE Tokyo and Rio and FastReport. I have both Tokyo & Rio installed. I used GetIt PM to install FR VCL & FMX 5.6.17. The FMX components are installed but theVCl components are not. GetIt shows the Uninstall button. Click it and the uninstall fails. The design package list in Tokyo shows FR FRX 2.0 components at C:\Program Files (x86)\FastReports\FastReport FMX Embarcadero edition\LibD25\dclFMXfrx25.bpl. The C:\Program Files (x86)\FastReports\LibD21 folder has bpl files. The C:\Program Files (x86)\FastReports\LibD26 folder is empty. I have also uninstalled via the Control Panel. Uninstall failed. What do I need to do to get FR VCL CE 10.2.3 (Tokyo) and10.3 (Rio) to install? Thanks...Dan'l

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) TDbf is an open source library to access Dbase tables. It’s released under the LGPL license (which makes in impractical for most commercial Delphi development). It is also used in Lazaraus (I haven’t checked the license there, but apparently you can… http://blog.dummzeuch.de/2018/12/26/tdbf-packages-for-delphi-10-3-rio/

Christmas sale - 25% discount on HTML Component Library, HTML Editor Library and HTML Report Library.

Christmas sale - 25% discount on HTML Component Library, HTML Editor Library and HTML Report Library. Please use coupon code XS201825 (valid until end of the year). https://delphihtmlcomponents.com

Before this site disappears forever, I thought I'd let you know that in a week or two I'll be releasing a new book for Object Pascal developers. The book was inspired by Thorsten Ball's book "Writing an Interpreter in Go" however the content is completely my own and based on an earlier project I did a few years ago. The title of the book is "Writing an Interpreter in Object Pascal Part 1: Lexical and Basic Syntax Analysis". Suitable for beginners, hobbyists, students, and interested developers. All code is open source (Apache 2.0) and available on a public repository.

Before this site disappears forever, I thought I'd let you know that in a week or two I'll be releasing a new book for Object Pascal developers. The book was inspired by Thorsten Ball's book "Writing an Interpreter in Go" however the content is completely my own and based on an earlier project I did a few years ago. The title of the book is "Writing an Interpreter in Object Pascal Part 1: Lexical and Basic Syntax Analysis". Suitable for beginners, hobbyists, students, and interested developers. All code is open source (Apache 2.0) and available on a public repository. Further details at: http://interpreter.analogmachine.org

Happy Holidays to All!

Image
Happy Holidays to All! We have Time-Limited Offer for you! Order "Mega Bundle" now and Save Up 20%! More info at: http://www.almdev.com

I am looking for a way to display a very large image a smaller window and have it autoscroll. Why using the Scrollby method works, it isn't smooth. What's the best way to do this?

I am looking for a way to display a very large image a smaller window and have it autoscroll. Why using the Scrollby method works, it isn't smooth. What's the best way to do this?

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) It’s time for a gift to all Delphi developers, a new Release of GExperts. Happy Holidays! (But do spend some time with your family rather than testing GExperts. 😉 ) I blogged about the new features already. There were also several bug fixes. Please be… http://blog.dummzeuch.de/2018/12/22/gexperts-1-3-12-experimental-twm-2018-12-22-released/

As far as I know, mORMot is the only Delphi web framework that's gone through a penetration/security test? Details here: https://synopse.info/forum/viewtopic.php?id=4700

As far as I know, mORMot is the only Delphi web framework that's gone through a penetration/security test? Details here: https://synopse.info/forum/viewtopic.php?id=4700 https://synopse.info/forum/viewtopic.php?id=4700

Some patches are out for 10.3 which may help some people:

Some patches are out for 10.3 which may help some people: December 2018 IDE Patch for 10.3 -------------------------------------------------------------------------------------------------------------------- This patch fixes a few issues related with the RAD Studio IDE in 10.3, including problems building an UWP app for the Windows Store, missing application configuration options in C++Builder, the lack of DBExpress Enterprise drivers in Data Explorer and an incorrect configuration for the Android NDK. December 2018 RAD Server Database Migration Patch for 10.3 -------------------------------------------------------------------------------------------------------------------- RAD Server offers automatic migration of its database. The version in 10.3 can successfully migrate the database from 10.2.3, but not from older versions, limiting the migration of existing projects (in development or already deployed). This patch fixes the problem, allowing automatic migration from older versions

Next Delphi revelations, now about investigating a pesky DispInvoke bug in all versions of Delphi supported by kbmMW, including 10.3 Rio, that results in leaks, and how kbmMW now ends up not being affected by it.

Next Delphi revelations, now about investigating a pesky DispInvoke bug in all versions of Delphi supported by kbmMW, including 10.3 Rio, that results in leaks, and how kbmMW now ends up not being affected by it. https://components4developers.blog/2018/12/20/delphi-revelations-3-dispinvoke-leak/

Hello

Hello, when you call TPrintDialog.Execute() you can select a printer and click on the properties button to change the printer's settings...how can I call this second dialogbox directly from my application for the active printer ? Thanks

Project Settings - variable for name of the project

Project Settings - variable for name of the project In the Project Settings you can use "macros" or variables like $(Platform)\$(Config). Is there a variable for Project Name? I would like all my projects in my project group to output compiled units under the same directory hierarchy like \Units\ \$(Platform)\$(Config)\ but for the life of me, I can't find a macro for "Project Name". I tried $(Name), $(ProjectName) etc but none worked. I looked at the help - which as always is useless and uninformative. So my last resort is asking the community.

10.3 Rio Bluetooth not working on macOS Mojave?

Image
10.3 Rio Bluetooth not working on macOS Mojave? Hi, I tried all BlueTooth examples available with 10.3 Rio on my Mac (Xcode 10.1) but none of the them, compiled to Windows or macOS, work. Each time I click the scan button to list all available BlueTooth devices, I get a dialog box stating: Error BlueTooth device not found: disconnected or turned off. My BlueTooth card on my Mac is turned on and fully functional.  Can anybody here use BlueTooth functionalities with Rio 10.3 on a Mojave macOS machine with Xcode 10.1? Or do you face the same problem? Thanks for any help. Steve

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) I just now had the need to transmit GPS (WGS 84) coordinates from one program to another. First, I simply copied longitude and latitude separately using the clipboard, which works fine but is really time consuming when you have to do that very often. I… http://blog.dummzeuch.de/2018/12/18/register-an-use-a-custom-clipboard-format-in-delphi/

overflow/range error not detected by delphi

overflow/range error not detected by delphi I had code as follows: Q.ParamByName('iID').AsInteger := lNextID; lNextID is defined as Int64, but I used the AsInteger (which is type Integer - ie 32-bits large), but even with Overflow and Range Checking enabled (and a total project rebuild), Delphi never complained or hinted that I made a mistake or that data could be truncated. Weird?? Subsequently I changed the code to .AsLargeInt := lNextID; I'm using Delphi 10.2.2 and it's a 32-bit Windows project.