본문 바로가기

Windows/MFC

C2065 sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA

err C2065: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' : undeclared identifer.
에 대한 해결 방법

Project Settings > C/C++ > Gerneral > Preprocessor definitions

STRSAFE_NO_DEPRECATE
이걸 define에 넣어주면 된다고 합니다.

역시 인터넷은 위대합니다... 만세 만세~

출처
http://blog.naver.com/PostView.nhn?blogId=songru&logNo=130035170231

'Windows > MFC' 카테고리의 다른 글

exif CExifManager  (0) 2013.10.02
bsearch  (0) 2013.10.02
Windows Mobile 5 Colors  (0) 2013.10.02
Pocket PC Theme Generator Power Toy 2.0  (0) 2013.10.02
QA: How to install/uninstall a Today plug-in?  (0) 2013.10.02