The message points to line 966 in a file named xlocnum in C:\Program Files\Microsoft Visual Studio 8\VC\include.
I searched the equivalent file in the VS 2003 folder, and there is no mention of sprintf_s.
I may be missing something that should be obvious, but it looks like a Microsoft compiler is refusing to compile Microsoft code.
I'm running on XP SP2, VS 2005 Professional with SP1.
Thanks for any insight,
Dennis