The signature of functions, which expect a string by value, isn't changed any more. Before,Delphi2Cpphad changed the code to pass a constant reference of the string instead. This is more efficient in C++, since it avoids copying the character array, but a manual post-processing of the co...
3.Property Name : TypereadGetterwriteSetter;6?4.Property Name : Type Index ConstantreadGetter{default : Constant|nodefault;}{stored : Boolean};7?5.Property Name : Type Index ConstantwriteSetter{default : Constant|nodefault;}{stored : Boolean};8?6.Property Name : Type Index ConstantreadGetter...
It is an Object Oriented concept that internals of an object should be hidden from the outside. Whilst you can allow fields (data) in a class to be directly externally accessible (by placing in the public or published sections), this is unwise. Instead,Propertycan be used to define how t...
#define RE_TOOMANYSUBEXPS 5 #define RE_UNMATCHEDPARENS 6 #define RE_INVALIDREPEAT 7 #define RE_NESTEDREPEAT 8 #define RE_INVALIDRANGE 9 #define RE_UNMATCHEDBRACKET 10 #define RE_TRAILINGBACKSLASH 11 #define RE_INTERNAL 20 #define RE_NOPROG 30 #define RE_NOSTRING 31 #define RE_NOMAGIC 32...
Added new conditional define in dmvcframework.inc: JSONBOOL (defined for Delphi Seattle+) What's New in 2.1.1-hydrogen Updated the IDE Expert to show the current version of the framework FIX to the mapper about the datasets null values (needs to be checked in old Delphi versions) ADDED ...
MyType = Array [0..3] of DWord; Method 2: Alternatively, the number of elements may be specified by a constant, e.g #define NumberOfElements 5 //...typedef struct _MyRec { DWORD MyArray[NumberOfElements] } MyRec, *PMyRec
Generally, it can be proven that for N-bit division there exists (N+1) bit multiplication constant – for the details see the key article Division by Invariant Integers using Multiplication. The rest of the post is a review of the results obtained in the article cited. I will use 32-bit...
#define RE_TOOMANYSUBEXPS 5 #define RE_UNMATCHEDPARENS 6 #define RE_INVALIDREPEAT 7 #define RE_NESTEDREPEAT 8 #define RE_INVALIDRANGE 9 #define RE_UNMATCHEDBRACKET 10 #define RE_TRAILINGBACKSLASH 11 #define RE_INTERNAL 20 #define RE_NOPROG 30 ...
Note: Here's how todeclare and initialize a constant array of records in Delphi. Records as Record Fields Since a record type is legitimate as any other Delphi type, we can have a field of a record be a record itself. For example, we could create ExpandedMember to keep track of what ...
Declare the conditional define 'GDIP_0110' (Project Options | Delphi Compiler | Conditional defines). This way, you don't accidentally use GDI+ 1.1 functionality in an application that must run on older versions of Windows. Disable runtime themes (Project Options | Application, uncheck 'Enable...