-
September 25th, 2012, 04:04 AM
#1
[RESOLVED] error C2065: 'swprintf_s' : undeclared identifier
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.
-
September 25th, 2012, 06:27 AM
#2
Re: error C2065: 'swprintf_s' : undeclared identifier
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.
Victor Nijegorodov
-
September 25th, 2012, 07:06 AM
#3
Re: error C2065: 'swprintf_s' : undeclared identifier
Thank you Victor,
i have just resolved the problem by using the swprintf function.
-
September 25th, 2012, 07:11 AM
#4
Re: [RESOLVED] error C2065: 'swprintf_s' : undeclared identifier
Another way would be upgrade your project to use either of the next Visual Studio versions: 2005/2008/2010/2012
Victor Nijegorodov
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|