If youre making use of custom phone calls to the windows APIs, youll have to find the similar behaviour of the alternate systems. In several situations the FMX classes will provide an solution, but if your program is VCL its likely not using those courses.Every day time, I feel asked queries about migration from versions as aged as 15-20 years, to the latest edition.
Fortunately, Delphi makes migration over the decades relatively painless, nevertheless, this doesnt mean to say effortless. I will also purpose to include tips methods for the migration process, and hyperlinks to related documentation. If you have no interest in migrating your program code to mobile platforms, or the Macintosh desktop, go ahead and skip out on to the section entitled Home windows 64-little bit migration and nicely choose up from generally there. This fact has guide to an requirement that Delphi can consider your Home windows application and somehow, create it cross platform. This is definitely not genuine It would become some authentic type of miracle if it had been accurate, but it isnt. Delphi Version Info Android And IOSWhat can be true is usually this: Modern versions of Delphi make it possible to write applications for Windows, Macintosh OSX, Google android and iOS. Delphi Version Info Software Is DefinitelyIf your software is definitely a VCL application, then it utilizes the Gain32 API. One issue that is definitely not accessible on Mac OSX, Android, and iOS will be the Gain32 API. See where Im going Your software is not really heading to operate on another system without some substantial changes. Fortunately, while Delphi wont amazingly fix this problem for you, there are usually some partner equipment to help. The FMX system does not depend on the Win32 API and its handles, but rather, actually starts up a rendering context using OpenGL or DirectX, and makes controls straight to that API. The FMX construction has mirror handles for the huge bulk of VCL settings which mail with Delphi, for instance, VCL and FMX both possess a TEdit handle, they both have got a TButton control, and so on. In carrying out so, the form is successfully ported fróm VCL tó FMX and as a result is made accessible to platforms some other than Home windows. There are usually nevertheless one or two issues to this strategy however. The Mida converter is usually not significantly more than a copyreplace macro device, if you are using settings which are usually not really a part of the VCL (3rd party handles for illustration), then the Mida convérter cannot migrate thése controls, youll possess to monitor down an FMX version of that control if it exists, or an FMX substitution from another third party merchant. For a begin, all of the systems backed by Delphi, other than Home windows, are in some way structured on a unixlinux version, and are consequently POSIX based. If youve hard-coded windows paths into your software, after that youre heading to possess to modify the code, likely using conditional defines, to realize where the exact same file lies on the additional platforms document systems. Though some platforms provide a simulation of the home windows registry, the majority of them have no like thing. Instead, settings is usually stored in a specific directory. The etc website directory is almost all commonly used to store configuration documents, and, theres nó pre-specified document format. One program might make use of a.ini file or very similar name-value pairs document, while another may use a JSON document, and however another might use an XML document. If your VCL software depends on settings in the registry, youre going to have to migraté it to á file under the construction directory for various other platforms. If your VCL application modifies the habits of the Operating-system or some other programs through modification of registry tips, youre going to have to discover out how the exact same efficiency can become achieved on various other platforms. If youre making use of custom calls to the windows APIs, youll have to find the comparative behaviour of the alternative platforms. In numerous instances the FMX courses will offer an response, but if your software will be VCL its likely not making use of those lessons.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |