David Millington Millington

David Millington has not set their biography yet


New in 10.2.1: Debug visualisers for Delphi generics Debug visualisers are a type of IDE plugin that allows you to change the display of a variable in the various debug windows (Local Variables, Watches, Inspector, and Evaluate/Modify.) For example, the TDateTime visualiser takes the double value that represents time and instead displays that time converted to a string. You register a debug visualiser for a type, so all variables of that type, and optionally descendants of that type, go through your visualiser. In previous versions, this typ...
Updating IDE Subversion DLLs to address security issues Recently a security issue allowing allowing local code execution after visiting a malicious URL was identified in Subversion, git and Mercurial. All three source control systems released a synchronised security update. In RAD Studio, we use an external installation of both git and Mercurial, which you point the IDE to in the Options dialog. (Tools > Options > Version Control, and then either the git or Mercurial subitems.) Update whichever distribution you use. However, we do ship Subver...

Posted by on in Blogs
New in RAD Studio 10.2.1: Debugger Quality In RAD Studio 10.2 Release 1 (or 10.2.1) we've made a number of improvements in the debugger. Windows debugging: general quality Do you debug multithreaded applications?  You might have noticed that wait chain traversal, showing which threads were blocked on which other threads, was not working on Windows 10.  We have re-enabled support and you can now debug thread interaction much more easily. We've also made some changes for Delphi when a process ends or you detach the debugg...

Posted by on in Blogs
New in RAD Studio 10.2.1: C++ Improvements In Tokyo Release 1 (otherwise known as 10.2.1) we've made a number of improvements to our C++ support: a small but useful change in the IDE, and some significant improvements in the toolchain itself. Toolchain: compiler, linker, etc Debugging and viewing variables, and general compiler In 10.2.0, we made a lot of changes to the Clang compilers to improve evaluating variables, commonly local or parameter variables, as well as globals.  This had a large effect for Win64, but...
New in RAD Studio 10.2.1: CodeGuard for Windows 8 and 10 CodeGuard is a tool for runtime error checking in a C++ application, and catches memory leaks, invalid handles, invalid memory use (such as writing past the end of a buffer), pointer validation, accessing freed memory and resources, and more. If you've never used it, check out the list of runtime errors it will find, and potential memory access problems it will warn you about. An app needs to be specially built to enable CodeGuard instrumentation, and Windows 8 and 10 made a...

Posted by on in Blogs
Changing a FireMonkey style at runtime There is a great post by Sarina Adding a style selector to your application showing how to have a FMX application with multiple style books, and a combo box listing the styles.  When the app is running, a user can select one of the style in the combo box and the FireMonkey app will change style dynamically. However, the code sample is in Delphi, not C++.  How do you do this in a cross-platform C++ app?  It turns out to be pretty simple - let's have a look. Following th...

Posted by on in Blogs
Friday afternoon emoji How To Name Your Software ends a good discussion on coding with a joking suggestion to use ??? (see no evil, hear no evil, speak no evil) as an identifier name. Challenge accepted. We can do that. What about unusual variable and method names, too?  Works fine.  Code completion, debugging, everything!   Full source, if you want to copy/paste, at this gist. Clearly we need to get the code editor to display the colourful versions!...
Quick tip: Delphi and C++Builder keyboard shortcuts in Parallels I run Delphi and C++Builder on a Mac, and I do this through Parallels, after switching from VMWare Fusion a few years ago. I've read requests before asking for instructions for how to run RAD Studio in a virtual machine, but it's pretty simple, something along the lines of: Install Windows; (Optionally) Put the VM into full-screen mode. The latter I prefer - both Fusion and Parallels have modes that try remove the Windows desktop and show app windows floating "integrated" into ...
April 2017 RAD Studio 10.2 Hotfix for Toolchain Issues We are pleased to release a hotfix for RAD Studio 10.2. This hotfix addresses: debugger issues for Android, iOS, and Linux; Delphi Win64 compiler issues; a C++ RTL issue addressing a crash on exit; a security issue in the C/C++ RTL. Our thanks to Łukasz Wyporek for notifying us of this issue. You can find full details about each issue in the readme and download page on CodeCentral. We also have an Android compatibility patch in the works to address Android issues around text input, con...

Posted by on in Blogs
C++Builder 10.2 is out! We are very happy to announce the release of RAD Studio 10.2! Sign up for the release webinar on Monday 27th March! More information DocWiki Feature Matrix What's new on the website and docwiki Specific key areas for C++Builder 10.2: Improved linking Improved code generation Improved debugging While for Delphi this brings Linux support (coming soon for C++Builder in 10.2.1), we have some great areas of new features and improvements to C++Builder for all users in 10.2, an...

Check out more tips and tricks in this development video: