C++CodeIDE

C++Builder Developer on StackOverflow was having trouble with SysUtils FindFirst / FindNext not finding all files with extension ~1~ and other strange file extensions.

Here was my answer 😀 Create a New | C++Builder VCL Windows application. On the form add TPanel, TButton, TEdit and TMemo components. Put the TButton and TEdit into the TPanel. Set TPanel align property to AlTop. Set the TMemo align property to alClient. FindFirst’s declaration in SysUtils.hpp is: extern DELPHI_PACKAGE int __fastcall FindFirst(const System::UnicodeString Path…
Read more
CodeDelphi

Efficiently Serialize And Deserialize JSON In Your Delphi Projects With Third Party Neon Library

Neon is a JSON serialization library for Delphi. This is a project by Paolo Rossi who is also a man behind the another popular open-source Delphi project called Delphi JOSE JWT. Neon is a serialization library for Delphi which helps you to convert (back and forth) objects and other values to JSON. It supports simple Delphi data types but also has complex class and records. The library has…
Read more
CodeDatabaseDelphiRAD Studio

Learn To Populate A String List With Some Data From A Database With The FireDAC.GetFieldNames Delphi Sample

To this end, the sample uses the following methods of theTFDConnectioncomponent: GetTableNamespopulates a string list with the names of tables in a database.GetFieldNamespopulates a string list with the names of fields in a table.GetKeyFieldNamespopulates a string list with the names of the key fields in a table. Location You can find…
Read more
CodeDatabaseDelphiRAD Studio

Learn How To Create A Database Login Dialog In Delphi With The FireDAC.TFDGUIxLoginDialog Sample

This sample describes how to use TFDGUIxLoginDialog in FireDAC GUI applications to allow users to enter their database credentials to connect to a DBMS. The same component also allows users to manage their passwords. The sample connects to a database using a TFDConnection. Location You can find theTFDGUIxLoginDialogsample project at: Start | Programs | Embarcadero RAD…
Read more