News

Multicast events using generics

Author: Allen Ever since before Delphi 1, the (then Delphi only) RAD Studio IDE has been full of home-grown multicast event class types. I usually refer to these as an “event bus.” This is from my hardware days when I designed microcontroller based security/access control equipment. A CPU has an “address bus” and a “data bus” which can have one sender and any…
Read more
News

Is Delphi A Memory Safe Language?

Last week, the US government released the report “Back To The Building Blocks: A Path Toward Secure And Measurable Software”. This report is part of the US Cybersecurity Strategy and focused on multiple areas, including memory safety vulnerabilities and quality…
News

Turbo Pascal Turns 40

Turbo Pascal was introduced by Borland in November 1983. It turned 40 years old days ago. Turbo Pascal was a milestone product for the industry, it started Borland as a company and it was the first popular Integrated Development Environment or IDE. It was a great product…
C++Code

Create and use Static Library (.Lib) and Dynamic DLLs in C++ Builder

Introduction: This post describes how to create and use Static Library (.Lib) and Dynamic (Run-Time) DLLs in C++ Builder. A library is a collection of pre-compiled code that can be re-used by programs. There are 2 types of libraries: static library and dynamic library. Static Library (.lib) vs Dynamic Library (.dll) A static library (.LIB file) (or archive) contains code that is linked to users’…
Read more
News

Setting up Ubuntu 22.04 for Delphi 11.2 Debugging

I created a Bash script a while back for setting up Ubuntu for Delphi development, and update it for each new release. The script automatically installs all the required packages, along with PAServer. I recently updated it again due to an LLDB debugging issue.
News

Some Suggestions to Help the Delphi Compiler

Offering some tips and suggestions you can consider to help the compiler be faster and consume less memory using the current version of Delphi. Over the last couple of years, Embarcadero has put a significant effort into optimizing the Delphi Object Pascal compilers’ performance and reducing its memory usage, so that our customers with large applications can have a better experience…
Read more
EventNews

Embarcadero Brazil 2022

I always enjoy coming down to Brazil for their annual Embarcadero Developer Conference. Unfortunately travel restrictions moved the event virtual for the last couple years, but it was back to an in person event this year. Previous in person events had around 400 attendees…
C++CodeIDEModernizationRAD Studio

What are vcle.lib and rtle.lib?

Solving an interesting issue upgrading a project from Classic to Clang. A recent blog comment asked for help where a Clang project was linking to vcle.lib, but the library did not exist in the Clang linking path (lib/win32c/release): it’s present only for the classic compiler in lib/win32/release. (Note the C in win32c, meaning Clang.) Why? If you see this error, how do you resolve it and…
Read more