Fixed %p in printf (now using wsprintf which doesn't support it).