There are still one or two pitfalls to this approach however. In doing so, the form is effectively ported from VCL to FMX and therefore is made available to platforms other than Windows. dfm files) and modify them to use the FMX versions of controls instead of the VCL controls. There is a tool called the ‘Mida converter’ ( see here ) which is able to open up your existing VCL forms (the. The FMX framework has mirror controls for the vast majority of VCL controls which ship with Delphi, for example, VCL and FMX both have a TEdit control, they both have a TButton control, and so on. In this way, visual controls become cross platform. The FMX framework does not depend on the Win32 API and it’s controls, but instead, actually opens up a rendering context using OpenGL or DirectX, and renders controls directly to that API. (Formerly FireMonkey, FMX=FireMonkey X-platform). Thankfully, while Delphi won’t magically fix this problem for you, there are some companion tools to help…Ĭross platform applications are written against a new framework named FMX. See where I’m going? Your application is not going to run on another platform without some significant changes.
DELPHI XE10 RECORD MAC
One thing that is not available on Mac OSX, Android, and iOS is the Win32 API. If your application is a VCL application, then it uses the Win32 API. If your application was originally written for Windows then it uses the Win32 API.
DELPHI XE10 RECORD ANDROID
What is true is this: Modern versions of Delphi make it possible to write applications for Windows, Mac OSX, Android and iOS. This is not true! It would be some genuine kind of magic if it were true, but it isn’t. This fact has lead to an expectation that Delphi can take your Windows application and somehow, make it cross platform.
DELPHI XE10 RECORD CODE
Modern Delphi is able to compile code to target Windows 32-bit and 64-bit, MAC OSX, Android and iOS. If you have no interest in migrating your code to mobile platforms, or the MAC desktop, go ahead and skip to the section entitled “Windows 64-bit migration” and we’ll pick up from there. If you come across something which is not included, please register and leave a comment, which I may integrate into this page.īefore we begin looking at the common pitfalls of a version migration, I would like to take a moment, (actually, a good page or two,) to discuss an often miss-understood feature of modern Delphi versions. I will also aim to add tips & tricks for the migration process, and links to relevant documentation.
DELPHI XE10 RECORD UPDATE
I intend this page to become something of a living document, which I will update over time to include any pitfalls that I uncover. This page aims to address the most common pitfalls which may befall a migration from any version of Delphi prior to 2009, including Borland versions, to modern Embarcadero versions. Thankfully, Delphi makes migration over the decades relatively painless, however, this doesn’t mean effortless! Every day, I am asked questions about migration from versions as old as 15-20 years, to the latest edition. A true testament to Delphi is the number of applications out in the wild which were written with much older versions.