C++

Secrets Of FireDac: Last Inserted Auto Generated Id And Enterprise Connectors

A common pattern when inserting data into a database table which has an auto increment field set on it is to use an SQL query to select the last inserted ID of the newly created record. Once you use your TFDQuery to run your INSERT query you can run this second query to get the newly inserted auto increment ID. Different databases have different SQL queries to accomplish this. MySQL for example…
Read more
Delphi

Tech Tip: How do I secure RAD Server for production deployment?

Note: This is not a comprehensive security tutorial for RAD Server merelya tech tip. There are a number of sections in the emsserver.ini file which can help you secure your RAD Server for production which include Server.APICrossDomain, Console.Login, Server.Authorization. You can limit cross site scripting by changing the CrossDomain setting in Server.APICrossDomain to only allow your…
Read more
C++

Migrating is easier than you think!

As an Embarcadero Software Consultant, I’m often asked to help migrate legacy Delphi and C++ Builder code to the current versions. Developers have commented that their migrations were easier than they thought! Here are two recent Code Rage Sessions showing Migrating your…
C++

Building Perfect REST APIs with RAD Server and Delphi

REST API architecture has become the most popular approach for building scalable, secure, multi-user systems.Using RAD Server you can quickly publish your Delphi or C++ logic as HTTP REST API endpoints that can be used from any app and framework, including mobile…
C++

RAD Studio 10.2: Windows 10 VCL UWP/WinRT Support

Windows 10 VCL Universal Windows Platform (UWP)/WinRT Services and Components has been added to the Run Time Library (RTL). For example, the Windows 10 Notifications Componentand Windows 10 Sharing/Contract Component, for both Object Pascal and C++ is included in RAD…