| Programming C# C++ (7) Delphi (604) .NET (2) Database (72) Delphi IDE (90) Network (39) Printing (3) Strings (12) VCL (83) Windows with Delphi (243) Java (8) JavaScript (56) perl (40) php (12) VBScript (1) Visual Basic (1)
|
Use large buffers very easy
This is an old solution how to allocate a large buffer. Rather use the alternative tip listed above. The code below works correct but it declares (now) twice the space. In a WideStr one element is two bytes. On the other hand the method is outdated, because there are now more typecast possibilities with the newer Delphi versions.
Comments:
|