Hi all,
I am using visual C++ 6.0 to build an unicode application, when i am compiling my code i have the following error:
error C2065: 'swprintf_s' : undeclared identifier
I have added the two headers: stdio.h and wchar.h.
Regards.
Printable View
Hi all,
I am using visual C++ 6.0 to build an unicode application, when i am compiling my code i have the following error:
error C2065: 'swprintf_s' : undeclared identifier
I have added the two headers: stdio.h and wchar.h.
Regards.
swprintf_s as well as other "Security Enhancements in the CRT" were introduced in Microsoft Visual Studio 2005. Thus they are not available in VC++6.0.
Thank you Victor,
i have just resolved the problem by using the swprintf function.
Another way would be upgrade your project to use either of the next Visual Studio versions: 2005/2008/2010/2012