Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
News

Printing from an Android device using FireMonkey

Author: J T403 Printing from an Android device requires a little bit more setup than in iOS where you simply connect to an AirPrint capable printer (like my Epson XP-400). However, Android printing appears to work with any Wifi printer (or PC connected printer), so its more flexible. Basically, it consists of three steps. First, download and install Google CloudPrint onto your device. Second…
Read more
Delphi

Cross platform anonymous threads and progress notification

Author: David Clegg Reading Anders Ohlsson’s latest blog post about using iOS APIs we don’t wrap reminded me of another couple of helper classes that I created, and which ship with the RAD Studio XE4 samples. The first of these is the TAnonymousThread<T> generic class (in <samples installation directory>Delphi\RTL\CrossPlatform Utils\AnonThread.pas), and is designed to make…
Read more
Delphi

Clone FireMonkey objects

Author: Vsevolod L1433 I’ve got a task of cloning FireMonkey objects. Let it be “chess”. An object is created as an aggregate in design-time. Look at the picture in the Structure pane. I have made the composite pawn model and start thinking of make 15…
News

Setting Text Parameters in FireMonkey

Author: Сергей One of small but rather useful new features of FireMonkey introduced in XE3 version is the FMX.Types.ITextSettings interface. Often we need to change some parameters of an output text for a component, which class is not known a priori. For example, a…
News

YAML and Remote Code Execution

Author: Craig Stuntz YAML’s security risks are in no way limited to Rails or Ruby. YAML documents should be treated as executable code and firewalled accordingly. Deserializing arbitrary types is user-controlled, arbitrary code execution. It’s Not Just Ruby A few weeks ago, I had a need to parse Jasmine’s jasmine.yml in some C# code. I spent some time looking at existing YAML…
Read more
Delphi

XE3 Visual LiveBindings: User defined objects

Author: Jim T1392 The adapter components TListBindSourceAdapter and TObjectBindSourceAdapter enable LiveBindings with user defined TObjects. Here is a user defined TObject for example. type TContact = class private FFirstName: string; FLastName: string; public constructor Create; overload; constructor Create(const AFirstName, ALastName: string); overload; property…
Read more
C++CodeHow-To'sModernizationRAD Studio

My code used to work but crashes! Easily Solving Incorrect Code with bcc64x

We’ve had a couple of support requests that are along the lines of, ‘I’m upgrading to the new Win64 Modern C++ toolchain. But when I run my app built in Release mode, it crashes, and…

IN THE ARTICLES