-
Notifications
You must be signed in to change notification settings - Fork 0
Description
你好.我要怎样才能正常的编译运行呢?谢谢
1>------ 已启动生成: 项目: pe_test, 配置: Debug Win32 ------
1> TrayMain.cpp
1>e:\source_accumulation_vs\od\pe_test\global.h(35): error C2664: “int WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)”: 无法将参数 3 从“const TCHAR *”转换为“LPCWCH”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(36): error C2664: “int WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)”: 无法将参数 3 从“const TCHAR *”转换为“LPCWCH”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(41): error C2664: “int MultiByteToWideChar(UINT,DWORD,LPCCH,int,LPWSTR,int)”: 无法将参数 5 从“TCHAR *”转换为“LPWSTR”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(57): error C2664: “size_t wcslen(const wchar_t *)”: 无法将参数 1 从“const TCHAR *”转换为“const wchar_t *”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\traymain.cpp(290): error C2664: “size_t wcslen(const wchar_t *)”: 无法将参数 1 从“TCHAR [260]”转换为“const wchar_t *”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\traymain.cpp(290): error C2660: “TextOutA”: 函数不接受 4 个参数
1>e:\source_accumulation_vs\od\pe_test\traymain.cpp(291): error C2664: “size_t wcslen(const wchar_t *)”: 无法将参数 1 从“TCHAR [256]”转换为“const wchar_t *”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\traymain.cpp(291): error C2660: “TextOutA”: 函数不接受 4 个参数
1>e:\source_accumulation_vs\od\pe_test\traymain.cpp(322): warning C4800: “ATOM”: 将值强制为布尔值“true”或“false”(性能警告)
1>e:\source_accumulation_vs\od\pe_test\traymain.cpp(339): error C2664: “size_t wcslen(const wchar_t *)”: 无法将参数 1 从“TCHAR [260]”转换为“const wchar_t *”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\traymain.cpp(346): error C2664: “size_t wcslen(const wchar_t *)”: 无法将参数 1 从“TCHAR [260]”转换为“const wchar_t *”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\traymain.cpp(476): error C2664: “size_t wcslen(const wchar_t *)”: 无法将参数 1 从“TCHAR [1024]”转换为“const wchar_t *”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1> StringTemplate.cpp
1>e:\source_accumulation_vs\od\pe_test\stringtemplate.cpp(27): error C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files (x86)\microsoft visual studio 12.0\vc\include\string.h(195) : 参见“strncpy”的声明
1> PERelocation.cpp
1>e:\source_accumulation_vs\od\pe_test\global.h(35): error C2664: “int WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)”: 无法将参数 3 从“const TCHAR *”转换为“LPCWCH”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(36): error C2664: “int WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)”: 无法将参数 3 从“const TCHAR *”转换为“LPCWCH”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(41): error C2664: “int MultiByteToWideChar(UINT,DWORD,LPCCH,int,LPWSTR,int)”: 无法将参数 5 从“TCHAR *”转换为“LPWSTR”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(57): error C2664: “size_t wcslen(const wchar_t *)”: 无法将参数 1 从“const TCHAR *”转换为“const wchar_t *”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\perelocation.cpp(59): warning C4244: “参数”: 从“ULONGLONG”转换到“LONG”,可能丢失数据
1>e:\source_accumulation_vs\od\pe_test\perelocation.cpp(82): warning C4018: “<”: 有符号/无符号不匹配
1> PEOptionHeader.cpp
1>e:\source_accumulation_vs\od\pe_test\global.h(35): error C2664: “int WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)”: 无法将参数 3 从“const TCHAR *”转换为“LPCWCH”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(36): error C2664: “int WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)”: 无法将参数 3 从“const TCHAR *”转换为“LPCWCH”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(41): error C2664: “int MultiByteToWideChar(UINT,DWORD,LPCCH,int,LPWSTR,int)”: 无法将参数 5 从“TCHAR *”转换为“LPWSTR”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(57): error C2664: “size_t wcslen(const wchar_t *)”: 无法将参数 1 从“const TCHAR *”转换为“const wchar_t *”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1> PEImportClass.cpp
1>e:\source_accumulation_vs\od\pe_test\global.h(35): error C2664: “int WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)”: 无法将参数 3 从“const TCHAR *”转换为“LPCWCH”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(36): error C2664: “int WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)”: 无法将参数 3 从“const TCHAR *”转换为“LPCWCH”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(41): error C2664: “int MultiByteToWideChar(UINT,DWORD,LPCCH,int,LPWSTR,int)”: 无法将参数 5 从“TCHAR *”转换为“LPWSTR”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(57): error C2664: “size_t wcslen(const wchar_t *)”: 无法将参数 1 从“const TCHAR *”转换为“const wchar_t *”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\peimportclass.cpp(74): warning C4244: “参数”: 从“ULONGLONG”转换到“LONG”,可能丢失数据
1>e:\source_accumulation_vs\od\pe_test\peimportclass.cpp(88): warning C4244: “=”: 从“ULONGLONG”转换到“DWORD”,可能丢失数据
1>e:\source_accumulation_vs\od\pe_test\peimportclass.cpp(112): warning C4244: “参数”: 从“ULONGLONG”转换到“LONG”,可能丢失数据
1> PEExportClass.cpp
1>e:\source_accumulation_vs\od\pe_test\global.h(35): error C2664: “int WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)”: 无法将参数 3 从“const TCHAR *”转换为“LPCWCH”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(36): error C2664: “int WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)”: 无法将参数 3 从“const TCHAR *”转换为“LPCWCH”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(41): error C2664: “int MultiByteToWideChar(UINT,DWORD,LPCCH,int,LPWSTR,int)”: 无法将参数 5 从“TCHAR *”转换为“LPWSTR”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(57): error C2664: “size_t wcslen(const wchar_t *)”: 无法将参数 1 从“const TCHAR *”转换为“const wchar_t *”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\peexportclass.cpp(61): warning C4244: “参数”: 从“ULONGLONG”转换到“LONG”,可能丢失数据
1>e:\source_accumulation_vs\od\pe_test\peexportclass.cpp(64): warning C4244: “参数”: 从“ULONGLONG”转换到“LONG”,可能丢失数据
1>e:\source_accumulation_vs\od\pe_test\peexportclass.cpp(76): warning C4244: “参数”: 从“ULONGLONG”转换到“LONG”,可能丢失数据
1>e:\source_accumulation_vs\od\pe_test\peexportclass.cpp(97): warning C4244: “=”: 从“ULONGLONG”转换到“DWORD”,可能丢失数据
1>e:\source_accumulation_vs\od\pe_test\peexportclass.cpp(100): warning C4244: “参数”: 从“ULONGLONG”转换到“LONG”,可能丢失数据
1>e:\source_accumulation_vs\od\pe_test\peexportclass.cpp(106): warning C4244: “参数”: 从“ULONGLONG”转换到“LONG”,可能丢失数据
1> PEDelayImportClass.cpp
1>e:\source_accumulation_vs\od\pe_test\global.h(35): error C2664: “int WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)”: 无法将参数 3 从“const TCHAR *”转换为“LPCWCH”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(36): error C2664: “int WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)”: 无法将参数 3 从“const TCHAR *”转换为“LPCWCH”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(41): error C2664: “int MultiByteToWideChar(UINT,DWORD,LPCCH,int,LPWSTR,int)”: 无法将参数 5 从“TCHAR *”转换为“LPWSTR”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(57): error C2664: “size_t wcslen(const wchar_t *)”: 无法将参数 1 从“const TCHAR *”转换为“const wchar_t *”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\pedelayimportclass.cpp(71): warning C4244: “参数”: 从“ULONGLONG”转换到“LONG”,可能丢失数据
1>e:\source_accumulation_vs\od\pe_test\pedelayimportclass.cpp(108): warning C4244: “参数”: 从“ULONGLONG”转换到“LONG”,可能丢失数据
1> PEBaseClass.cpp
1>e:\source_accumulation_vs\od\pe_test\global.h(35): error C2664: “int WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)”: 无法将参数 3 从“const TCHAR *”转换为“LPCWCH”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(36): error C2664: “int WideCharToMultiByte(UINT,DWORD,LPCWCH,int,LPSTR,int,LPCCH,LPBOOL)”: 无法将参数 3 从“const TCHAR *”转换为“LPCWCH”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(41): error C2664: “int MultiByteToWideChar(UINT,DWORD,LPCCH,int,LPWSTR,int)”: 无法将参数 5 从“TCHAR *”转换为“LPWSTR”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1>e:\source_accumulation_vs\od\pe_test\global.h(57): error C2664: “size_t wcslen(const wchar_t *)”: 无法将参数 1 从“const TCHAR *”转换为“const wchar_t *”
1> 与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
1> 正在生成代码...
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========