-
2009. 11. 28. 19:53 Library/Document
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(238) : error C2146: 구문 오류 : ';'이(가) 'PVOID64' 식별자 앞에 없습니다.
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(238) : error C4430: 형식 지정자가 없습니다. int로 가정합니다. 참고: C++에서는 기본 int를 지원하지 않습니다.
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(7820) : error C2146: 구문 오류 : ';'이(가) 'Buffer' 식별자 앞에 없습니다.
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(7820) : error C4430: 형식 지정자가 없습니다. int로 가정합니다. 참고: C++에서는 기본 int를 지원하지 않습니다.
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(7820) : error C4430: 형식 지정자가 없습니다. int로 가정합니다. 참고: C++에서는 기본 int를 지원하지 않습니다.
typedef void *PVOID;
typedef void * POINTER_64 PVOID64;
가 에러가 난다고 뜬다.
// Void
//
#define POINTER_64 __ptr64 //<-- -_-;
typedef void *PVOID;
typedef void * POINTER_64 PVOID64;
#if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
#define NTAPI __stdcall
#else
#define _cdecl
#define NTAPI
#endif
다음 붉은색의 문장을 적어주었더니 문제가 해결 되었습니다.
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(238) : error C4430: 형식 지정자가 없습니다. int로 가정합니다. 참고: C++에서는 기본 int를 지원하지 않습니다.
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(7820) : error C2146: 구문 오류 : ';'이(가) 'Buffer' 식별자 앞에 없습니다.
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(7820) : error C4430: 형식 지정자가 없습니다. int로 가정합니다. 참고: C++에서는 기본 int를 지원하지 않습니다.
1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(7820) : error C4430: 형식 지정자가 없습니다. int로 가정합니다. 참고: C++에서는 기본 int를 지원하지 않습니다.
typedef void *PVOID;
typedef void * POINTER_64 PVOID64;
가 에러가 난다고 뜬다.
// Void
//
#define POINTER_64 __ptr64 //<-- -_-;
typedef void *PVOID;
typedef void * POINTER_64 PVOID64;
#if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
#define NTAPI __stdcall
#else
#define _cdecl
#define NTAPI
#endif
다음 붉은색의 문장을 적어주었더니 문제가 해결 되었습니다.