Archive
Thursday, 5. June 2014
3
votes

RawByteString type explained
The Programming Works
– With the introduction of Unicode support Delphi also introduced magic RawByteString type; the word ‘magic’ here means that you can’t implement a type with RawByteString functionality without hidden compiler support. A common misunderstanding about the RawByteString type is that instances of ...
1
vote

RawByteString type explained
The Programming Works
– With the introduction of Unicode support Delphi also introduced magic RawByteString type; the word ‘magic’ here means that you can’t implement a type with RawByteString functionality without hidden compiler support. A common misunderstanding about the RawByteString type is that instances of ...
0
votes

Buy RAD Studio, Delphi or C++Builder, Get Another Tool Free offer
Delphi Insider
– If you have been waiting for a special offer before you buy or upgrade to RAD Studio, C++Builder or Delphi XE6, now is the time to upgrade.Buy One Tool, Get a Second Tool FREE!Offer ends June 30, 2014! For a limited time, with each qualifying Embarcadero RAD Studio, Delphi or C++Builder product ...
1
vote

AppTethering Leaderboard - Passing Objects Remotely and using Resources
Stephen Ball
– AppTethering opens up a range of powerful features for coupled applications. Beyond the basic features for calling remote actions (which is rather cool and quick to setup) it is also possible to share resources between applications. To give you an example I have built a Scoreboard that records the ...
11
votes

How to convert an object to JSON and back with a single line of code
Stephen Ball
– Ever wanted to take an Object into a format that is easily persisted and back? Well now you can. New in XE6 is the REST.JSON unit. This allows you access to TJSON a class with some very helpful class methods. Using TJSON you can convert an object to a JSON string and back with a little help from ...
5
votes

I officially hate hate hate the WITH statement.
Delphi Code Monkey
– This hilariously awful piece of code is from FooBars (fobar.pas), the name of the vendor has been removed so I can feel better about placing it up here to be openly criticized:procedure TfooBarPainter.BarDrawMarkArrow(ABarControl: TfooBarControl; DC: HDC; MarkR: TRect);var P: array[1..3] ...