Visit site Delphi Haven

March 2010

1
vote
Vote UpVote

Quick quiz

Delphi Haven – Consider this unit: unit CCR; interface type SysUtils = record const EmptyStr = 'Overridden'; end; implementation end. If the constant on the record type hurts your eyes (or you still use an ancient Delphi version), use this instead – unit CCR; interface type TSysUtils = record ...
Details Favorite? Off-Topic? CR @ 2010-03-09 19:03
0
votes
Vote UpVote

Quick tip: using MSXML v6 with TXMLDocument in D7-D2007

Delphi Haven – By default, the VCL’s TXMLDocument class will delegate to MSXML for its actual parsing and writing. Now MSXML itself comes in various versions, with newer ones being installed side-by-side with older ones. To cope with this situation, the VCL tests for the existence of a number of them, the idea ...
Details Favorite? Off-Topic? CR @ 2010-03-07 17:09
2
votes
Vote UpVote

New CCR Exif release (now v1.1.0)

Delphi Haven – I’ve just put up another revision of my Exif parsing/writing code. This release centres on improving how XMP packets are read and written (more details here), so there’s no interface changes of any significance. Anyhow, the download location is the same as always.
Details Favorite? Off-Topic? CR @ 2010-03-07 16:42

February 2010

0
votes
Vote UpVote

Small update to my Exif library (now v1.0.1)

Delphi Haven – I’ve just put up another revision of my Exif parsing/writing code. There’s only a few changes from last time – TCustomExifData now accepts Exif segments that declare themselves to be big endian when they are really small endian or vice versa. elTrilinear renamed esTrilinear. In ...
Details Favorite? Off-Topic? CR @ 2010-02-13 14:06
3
votes
Vote UpVote

Compiling a Hunspell DLL, step by step

Delphi Haven – As I got asked, I thought I might as well make a separate post out of it, so here goes. To compile a new Hunspell DLL, you could do the following: Make sure you have a suitable C++ compiler at the ready. I’ve no idea about C++Builder, but Visual C++ Express does the job fine, and it’s ...
Details Favorite? Off-Topic? CR @ 2010-02-06 13:17

January 2010

3
votes
Vote UpVote

Naïvely Latin-1

Delphi Haven – Just checking out DelphiFeeds.com, I see a post at the top which makes an error (or at least veers towards it) that I find weirdly irritating: conflating ASCII with the Windows Latin-1 codepage. Let’s get some things clear: Latin-1 covers more than just modern English. Latin-1 is itself a ...
Details Favorite? Off-Topic? CR @ 2010-01-23 12:22
3
votes
Vote UpVote

Another update to my Exif (and now IPTC) code (v1.0.0)

Delphi Haven – Having been stuck on v0.9.x for ages due to my somewhat arbrary versioning scheme (or lack of one!), I thought I might as well get a v1.0.0 out, so here it is. Changes since v0.9.9 are as thus: Added support for IPTC metadata as stored in Adobe APP13 segments — Implemented an IPTC reader/writer ...
Details Favorite? Off-Topic? CR @ 2010-01-18 13:35

December 2009

0
votes
Vote UpVote

Small thought

Delphi Haven – It’s hardly an original thought, but why does the off-topic group at the Embarcadero forums still exist? At my time of writing (I’m doing so in advance of actually posting BTW), it’s dominated by some American guy whining about supposed censorship from political opponents — ...
Details Favorite? Off-Topic? CR @ 2009-12-13 09:25
6
votes
Vote UpVote

Dynamic arrays — pure reference types, except when they’re not

Delphi Haven – A reasonable way to understand the semantics of dynamic arrays in Delphi is to recall the sort of code you might have used as a substitute before they where introduced in Delphi 4. Assuming only a single dimension to keep things simple, stage one would be to declare dummy static array type, together ...
Details Favorite? Off-Topic? CR @ 2009-12-09 18:40
0
votes
Vote UpVote

Mr Hater gets constructive

Delphi Haven – I haven’t looked at his blog in a while, but I see Mr Hater had an unusally constructive post last month. As with other examples of the genre, it does have its parochial edge (see in particular point 13 — Embarcadero are going wrong since, having failed to create a direct replacement, ...
Details Favorite? Off-Topic? CR @ 2009-12-07 13:50
5
votes
Vote UpVote

Are dynamic arrays in Delphi half-baked?

Delphi Haven – In a nice little series on ‘Delphi in a Unicode world’ written and published around the time of Delphi 2009’s release, Nick Hodges writes on the topic of using strings as binary buffers as thus: A common idiom is to use a string as a data buffer. It’s common because it’s been easy ...
Details Favorite? Off-Topic? CR @ 2009-12-04 18:45

November 2009

0
votes
Vote UpVote

New revision of my Exif library (v0.9.9)

Delphi Haven – I’ve just put up another revision of my Delphi Exif parsing code. This revision has two main themes: Sanity checks have been added to the parsing code, meaning every single TIFF offset is now checked. Connected to this, and by popular demand (or so it seems), the balance between accepting ...
Details Favorite? Off-Topic? CR @ 2009-11-21 11:36

October 2009

3
votes
Vote UpVote

Using Hunspell — a code page-aware wrapper

Delphi Haven – Yes, it’s been done before – indeed, I’ve used Brian Moelke’s simple Hunspell wrapper from a few years back myself – but a few posts on the Embarcadero forums in the past couple of months have prompted me to write up my own. Basically, if you haven’t heard of it, Hunspell is the open source spell ...
Details Favorite? Off-Topic? CR @ 2009-10-30 07:30
1
vote
Vote UpVote

New revision of my Exif library (v0.9.8)

Delphi Haven – It’s taken a while, but I’ve just completed another revision of my MPL’ed Exif reader/writer code, Exif being the standard format for JPEG metadata (see here). The biggest new feature in terms of effort spent is much better XMP support – the default behaviour is now to update the equivalent XMP ...
Details Favorite? Off-Topic? CR @ 2009-10-18 23:20

September 2009

2
votes
Vote UpVote

Adding scripting support to a Delphi application, again

Delphi Haven – I’ve updated the Delphi 2010 IDispatch proxy code I posted a couple of weeks ago, fixing a few bugs, improving how Delphi exceptions are handled in my IDispatch.Invoke implementation, and adding some set type support. For the latter, set values are now surfaced as objects with Empty and Contains ...
Details Favorite? Off-Topic? CR @ 2009-09-27 12:58
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Delphi Tage Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)