VC 6.0을 사용하도록 알려주는 wifi 모듈을 제어하기위한 몇 가지 예제 코드가 있으며 최신 버전은 지원되지 않습니다. 어쨌든 나는 그것을 얻으려고 노력하고있다. MFC의 일부인 CString을 사용하므로 Visual Studio 2010 시험판을 다운로드하여 컴파일 할 수 있는지 확인합니다. 다음은 오류에서 (아마도 시작)를 던지고 코드입니다 :이전 코드를 작동 시키려고 할 때 CString에서 typedef를 사용하여 오류가 발생했습니다.
#ifdef _UNICODE
//Use CString as the standard string type in UNICODE versions
typedef CString WuString; // Line 42
#endif
그리고 여기에 오류 메시지입니다 :
1>d:\...\my documents\authapiex\apps8.0.0.90_sdk_xp\include\wtypes.h(42): error C2146: syntax error : missing ';' before identifier 'WuString'
1>d:\...\my documents\authapiex\apps8.0.0.90_sdk_xp\include\wtypes.h(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\...\my documents\authapiex\apps8.0.0.90_sdk_xp\include\wtypes.h(42): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
어떤 도움도 좋은 것입니다.
실제로 오류가 발생하는 헤더 파일을 포함하는 헤더 파일 앞에 stdafx.h에 포함 된이 포함되어 있습니다. 그래서 내가 말할 수있는 한, 컴파일러는 헤더 파일을 순차적으로 컴파일하고 있는가? –