急!TCPMP在WINCE6.0下编译时字符集出错
WINVER not defined. Defaulting to 0x0400, which is appropriate for all supported Windows CE versions
1>C:\WINCE600\PUBLIC\COMMON\SDK\INC\winnt.h(790) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\WINCE600\PUBLIC\COMMON\SDK\INC\winnt.h(790) : error C2143: syntax error : missing ',' before '&'
1>_CE_ACTIVEX was not defined because this Windows CE SDK does not have DCOM.
1> _CE_ACTIVEX could be caused to be defined by defining _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA, but it is recommended that this be done only for single-threaded apps.
1>_ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined.
1>.\win32\playlst.cpp(75) : error C2440: 'initializing' : cannot convert from 'const wchar_t [12]' to 'tchar_t *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(76) : error C2440: 'initializing' : cannot convert from 'const wchar_t [14]' to 'tchar_t *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(77) : error C2440: 'initializing' : cannot convert from 'const wchar_t [19]' to 'tchar_t *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(78) : error C2440: 'initializing' : cannot convert from 'const wchar_t [17]' to 'tchar_t *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(79) : error C2440: 'initializing' : cannot convert from 'const wchar_t [15]' to 'tchar_t *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(117) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const tchar_t *' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(118) : error C2664: 'GetModuleFileNameW' : cannot convert parameter 2 from 'tchar_t *' to 'LPWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(119) : error C2665: 'wcsrchr' : none of the 2 overloads could convert all the argument types
1> c:\wince600\public\common\sdk\inc\stdlib.h(179): could be 'const wchar_t *wcsrchr(const wchar_t *,wchar_t)'
1> c:\wince600\public\common\sdk\inc\stdlib.h(198): or 'wchar_t *wcsrchr(wchar_t *,wchar_t)'
1> while trying to match the argument list '(tchar_t *, char)'
1>.\win32\playlst.cpp(128) : error C2664: 'GetModulePath' : cannot convert parameter 1 from 'TCHAR [256]' to 'tchar_t *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(164) : error C2440: 'type cast' : cannot convert from 'tchar_t *' to 'CString'
1> No constructor could take the source type, or constructor overload resolution was ambiguous
1>.\win32\playlst.cpp(216) : error C2440: '=' : cannot convert from 'tchar_t [256]' to 'LPWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(217) : error C2664: 'wcscmp' : cannot convert parameter 1 from 'tchar_t [256]' to 'const wchar_t *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(218) : error C2440: '=' : cannot convert from 'tchar_t [256]' to 'LPWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(226) : error C2440: '=' : cannot convert from 'tchar_t [256]' to 'LPWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(227) : error C2664: 'wcscmp' : cannot convert parameter 1 from 'tchar_t [256]' to 'const wchar_t *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(228) : error C2440: '=' : cannot convert from 'tchar_t [256]' to 'LPWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(232) : error C2440: '=' : cannot convert from 'tchar_t [256]' to 'LPWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(233) : error C2664: 'wcscmp' : cannot convert parameter 1 from 'tchar_t [256]' to 'const wchar_t *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(234) : error C2440: '=' : cannot convert from 'tchar_t [256]' to 'LPWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(281) : error C2440: '=' : cannot convert from 'tchar_t *' to 'LPWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>.\win32\playlst.cpp(282) : error C2664: 'wcslen' : cannot convert parameter 1 from 'const tchar_t *' to 'const wchar_t *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>openfile_win32.cpp
上面红的错误是怎么回事,系统自己的怎么会出错呢.
下面的一些错误是在编译TCPMP时,其INTERFACE界面出现的大量错误,我有5.0下的EVC,编译没有任何问题,但用VS2005出现了.请教下大概在什么方向..谢谢!