Note headconv (by Bob Swart, a.k.a. drBob) has always been open source. The only difference with the JEDI version is that that version is
open source licensed...whereas the original is just
copyrighted freeware.
Note 2: cpp-E -> h2paspp-> h2pas gives better results in most cases.
In general I use either the new formatting helpers (see my example, this is delphi compatible) or indeed writestr and lately refrain from actual classic formatting functions in newer code. Dunno why, so don't ask