B
Ben Rush
When I compile my solution I get the following output -
NET 2003\Vc7\atlmfc\include\atlwin.h(2027) : warning C4995:
'wsprintf': name was marked as #pragma deprecated
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\atlmfc\include\atlwin.h(2027) : warning C4995: 'wsprintfA':
name was marked as #pragma deprecated
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\atlmfc\include\atlwin.h(2211) : warning C4995: 'wsprintf':
name was marked as #pragma deprecated
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\atlmfc\include\atlwin.h(2211) : warning C4995: 'wsprintfA':
name was marked as #pragma deprecated
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\atlmfc\include\atlwin.h(3863) : warning C4995: 'lstrcpy':
name was marked as #pragma deprecated
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\atlmfc\include\atlwin.h(3863) : warning C4995: 'lstrcpyA':
name was marked as #pragma deprecated
If I'm not suppose to use wsprintf() then what am I suppose to use?
It's quite frustrating for me as I look on the docs for this function
and no mention of it being deprecated can be found. I get the same
thing for lstrcat, lstrlen, etc. I choose to not use strcpy(),
sprintf(), etc. because I'm not using CRT functions. I want to use the
Win32 equivalents.
NET 2003\Vc7\atlmfc\include\atlwin.h(2027) : warning C4995:
'wsprintf': name was marked as #pragma deprecated
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\atlmfc\include\atlwin.h(2027) : warning C4995: 'wsprintfA':
name was marked as #pragma deprecated
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\atlmfc\include\atlwin.h(2211) : warning C4995: 'wsprintf':
name was marked as #pragma deprecated
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\atlmfc\include\atlwin.h(2211) : warning C4995: 'wsprintfA':
name was marked as #pragma deprecated
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\atlmfc\include\atlwin.h(3863) : warning C4995: 'lstrcpy':
name was marked as #pragma deprecated
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\atlmfc\include\atlwin.h(3863) : warning C4995: 'lstrcpyA':
name was marked as #pragma deprecated
If I'm not suppose to use wsprintf() then what am I suppose to use?
It's quite frustrating for me as I look on the docs for this function
and no mention of it being deprecated can be found. I get the same
thing for lstrcat, lstrlen, etc. I choose to not use strcpy(),
sprintf(), etc. because I'm not using CRT functions. I want to use the
Win32 equivalents.