sprintf counterparts?

Tech-Archive recommends: Fix windows errors by optimizing your registry



VS2005 compiler stopped me from compiling this,

Error 10 error C3861: 'dont_use_sprintf': identifier not found c:\Documents
and Settings\luckie\My Documents\Visual Studio
2005\Projects\myProject\ast.cpp 33

sprintf (buf, "%s%lX", (i > 9) ? "0x" : "", i);
Any ideas that I can get around this.
MSDN didn't not address this issue by hitting F1
Thanks


.