Konstantin Tomov
This sample demonstrates two ways of handling errors in an array DML execution. To this end, the sample implements two ways of handling the errors: Implementing an OnError event. Using the EFDDBEngineException class on a loop. Location You can find the BatchErrorHandling sample project… … Read more
3 years ago in android , array dml , batch , Code , Delphi , error handling , firedac , ios , linux , macos , object pascal , programming , Query , RAD Studio , windows
0
Pabitra Dash
Given some class C with a data member m, the current standard makes it ill-formed to refer to m in sizeof expressions without providing an object. For example, uses such as sizeof(C::m) (outside of C) or sizeof(m) (in a static member of C) are ill-formed…. … Read more
3 years ago in C++ , cbuilder , Code , Extending sizeof , IDE , learn c++ , programming , RAD Studio , sizeof , sizeof operator , windows
0
Pabitra Dash
Regarding virtual overrides, C++11 tends to tighten the rules, so as to detect some problems that often arise. In order to achieve this goal C++11 introduces two new contextual keywords: final specifies that a method cannot… … Read more
3 years ago in C++ , cbuilder , Clang , Code , Explicit virtual overrides , Final , learn c++ , override , programming , RAD Studio , Virtual , windows
0
Pabitra Dash
Extern templates is a feature supported by both BCC32 and the Clang-enhanced C++ compilers. Using extern templates thus reduces both compilation time and the size of the compiled module. This feature is part of the new C++11… … Read more
3 years ago in C++ , cbuilder , Code , Explicit Instantiation and Declaration , extern , extern Template Usage , Extern templates , learn c++ , programming , RAD Studio , windows
0
Konstantin Tomov
The sample shows in a nice way how to use the TFDLocalSQL component to execute SQL commands on in-memory database, represented by several TFDMemTables. This sample uses a TFDConnection to connect to the SQLite in-memory database (with empty Database parameter value)…. … Read more
3 years ago in android , Code , database , dataset , Delphi , firedac , ios , linux , localsql , macos , object pascal , programming , RAD Studio , SQL , tfdmemtable , windows
0
Pabitra Dash
A memory fence/barrier is a class of instructions that enforces memory loads/stores occur in expected order. Different from high level mutexes and atomics, memory fences are hardware dependent. C++11 improves the support for bidirectional fences…. … Read more
3 years ago in bidirectional , Bidirectional Fences , C++ , cbuilder , Code , learn c++ , memory barrier , memory fence , memory loads , memory stores , modern c++ , RAD Studio , windows
0
Konstantin Tomov
TFDMemTable.MasterDetail … Read more
3 years ago in Code , dataset , Delphi , firedac , ios , linux , macos , Master-Detail , MemTable , object pascal , osx , programming , RAD Studio , windows
0
Muminjon
When creating a robust and large-scale application containing lots of components interacting with each other, the Delphi Event Bus framework can be a great solution to maintain loose coupling and building a consistent platform. If… … Read more
3 years ago in Code , Delphi , delphi event bus , event based programming , event bus framework , events , GetIt , object pascal , programming , windows
0
Konstantin Tomov
This sample allows the user to create temporary connection definition at run-time and master-details relationship between datasets using TFDQuery to work with MSSQL databases. Location You can find the MSSQL sample project at: Start | Programs | Embarcadero RAD Studio Sydney… … Read more
3 years ago in Code , database , Delphi , firedac , microsoft , microsoft sql , Microsoft SQL Server , MSSQL , object pascal , programming , RAD Studio , windows
0
Konstantin Tomov
The sample allows you to modify the macro values at run time.Note: See the Preprocessing Command Text topic for more information about parameterizing SQL command texts. Location You can find the Macros sample project at: Start | Programs |… … Read more
3 years ago in android , Code , database , Delphi , firedac , ios , linux , macos , Macros , object pascal , programming , RAD Studio , windows
0
Pabitra Dash
C++11 adds atomic types and operations to the standard. Atomic types and operations provide a way of writing multi-threaded applications without using locks. Atomic types are types that encapsulate a value whose access is guaranteed… … Read more
3 years ago in Atomic , Atomic operations , Atomic types , C++ , cbuilder , Code , learn c++ , programming , race condition , RAD Studio , windows
0
Pabitra Dash
In C++, it is possible to create synonyms that can be used instead of a type name. This is achieved by creating a typedef declaration. This is useful in several cases, such as creating shorter… … Read more
3 years ago in Alias templates , C++ , cbuilder , Code , learn c++ , programming , RAD Studio , Templates , type aliases
0
Muminjon
Most of the time when starting a new big project you end up creating lots of modules for your application. Most of them could be dozens of different functions which helps to write less code… … Read more
3 years ago in amazon , automapper , Azure , Code , Delphi , dependency injection , JSON , memory cache , object pascal , Pooling , programming , quicklib , rtti , scheduled tasks , SMTP , threads , windows , yaml
0
Pabitra Dash
C++ supports various string and character types, and provides ways to express literal values of each of these types. A string literal represents a sequence of characters that together form a null-terminated string. The characters… … Read more
3 years ago in C++ , char16_t , char32_t , Code , learn c++ , new character type , programming , RAD Studio , string literals , Unicode string literals , windows
0