-
error c2039: 'ReadHuge' is not a member of 'CFile'IT/Visual Studio 2011. 6. 14. 00:52
Visual Studio 6.0 에서 문제 없던 아래 코드가 VisualStudio 2005 이상 버전으로 컨버팅 시에 에러가 나는 경우에 대한 해결책이다.
JobFile.ReadHuge(pData,dwFileLength);
error c2039: 'ReadHuge' is not a member of 'CFile'
해결 방법
ReadHuge 대신에 Read 를 쓴다
예 ) JobFile.Read(pData,dwFileLength);
'IT > Visual Studio' 카테고리의 다른 글
string 관련 safe 함수 사용하기 (_s) (0) 2011.06.14 error C2259: CException cannot instantiate abstract class (0) 2011.06.14 error C2663: 'ATL::CSimpleStringT<BaseType,t_bMFCDLL>::GetBuffer' : 2 overloads have no legal conversion for 'this' pointer (0) 2011.06.14 Visual Studio 2008 실행시 / 재설치시에 오류 해결방법 (0) 2011.04.28 Windows Services 로 등록되어 있는 프로세스를 디버깅 하기 (0) 2011.02.20