Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Still Problem with %p specifier


#1

In SI 3.0.5
%p specifier still don’t work

I need write

SiMain.LogDebug(Format(‘Test %p’,[Pointer(myObj)])

and not simple
SiMain.LogDebug(‘Test %p’,[Pointer(myObj)])

Regards
Ing Giuseppe Monteleone


#2

That’s still the same problem with the WideFormat routine. I submitted it long ago as a Delphi bug but I guess it’s still in there. I think it will be fixed with the upcoming Delphi 2009 as this version will be completely Unicode based and we can then use the normal Format routine again.

As an alternative to using %p, you could also use the following: