C2146: syntax error: missing ';' before identifier PVOID64
다이렉트X SDK의 경로 위로 플랫폼 SDK 경로를 올린다.
#ifndef _BASETSD_H_
#define _BASETSD_H_
#if !defined(_MAC) && (defined(_M_MRX000) || defined(_M_AMD64) || defined(_M_IA64)) && (_MSC_VER >= 1100) && !(defined(MIDL_PASS) || defined(RC_INVOKED))
#define POINTER_64 __ptr64 // <-- This code is not called for some reason.
typedef unsigned __int64
winnt.h
//
// Void
//
typedef void *PVOID;
typedef void * POINTER_64 PVOID64;
C2065
'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' : undeclared identifier
'_tcscpy_instead_use_StringCbCopy_or_StringCchCopy' : undeclared identifier
'wsprintf_instead_use_StringCbPrintf_or_StringCchPrintf' : undeclared identifier
Project Settings > C/C++ > Gerneral > Preprocessor definitions
STRSAFE_NO_DEPRECATE
참조 사이트:
C2065
다음줄을 주석처리 해본다.
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
C4786
#pragma warning (disable : 4786)
#include <map>
참조 사이트:
__int64
long long
error LNK2001: unresolved external symbol ___delayLoadHelper@8
Delayimp.lib
__FUNCTION__
참조 사이트: