본문 바로가기
반응형

개발언어/C++37

OutputDebugString CString 의 범위가 넘어도 출력하기 OutputDebugString CString 의 범위가 넘어도 출력하기 OutputDebugString(strQuery.Mid(0, 1024) + _T("\n")); if(strQuery.GetLength() > 1024) OutputDebugString(strQuery.Mid(1023, strQuery.GetLength()-1024) + _T("\n")); 2010. 8. 6.
_ATL_USE_CSTRING_FLOAT CString 문자열 길 늘려주는 방법 _ATL_USE_CSTRING_FLOAT CString 문자열 길 늘려주는 방법입니다. CString 에 할당된 문자열이 길게되면 문자열 범위가 넘어서서 문제가 됩니다. #define _ATL_USE_CSTRING_FLOAT 로 선언을 하거나 또는 CString 변수를 여러개 선언하여 나누어서 처리한후에 합쳐줍니다. 2010. 7. 28.
[에러] uuid.lib(ocidl_i.obj) : fatal error LNK1103: debugging information corrupt; recompile module uuid.lib(comcat_i.obj) : fatal error LNK1103: debugging information corrupt; recompile module 환경사항 Windows XP Service pack 3 + Visual studio 6.0 + Platform SDK Server2003 R2 사용 에러 메시지 uuid.lib(ocidl_i.obj) : fatal error LNK1103: debugging information corrupt; recompile module Error executing link.exe. 해결책 C:\Program Files\Microsoft Platform SDK\Lib 폴더의 uuid.lib 파일의 이름을 삭제 또는 변경해주면 됩니다. 2010. 7. 19.
c:\program files\microsoft visual studio\vc98\include\utility(21) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit c:\program files\microsoft visual studio\vc98\include\utility(21) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit internal heap limit reached; use /Zm to specify a higher limit 위와 같이 Zm500 으로 컴파일 메모리를 늘려준다. 참고 사이트 : http://blog.naver.com/intencelove?Redirect=Log&logNo=20098282915 http://yunhyeon.tistory.com/160 c:\program files\microsoft visua.. 2010. 7. 14.
반응형