I am in the process of compiling in _UNICODE in order to display multi-languages in my program.
When I first started this, I had about 500 compile errors (mostly needed _T() and put in some TCHAR for char).
I am down to about the last 20 (pant...pant...) and this attached IMapi.cpp file is one of the problems I can't quite figure out. I use this for sending email through MAPI and it has some functions with LPCTSTR and LPTSTR params that don't work.
Was wondering if some one could browse the attached .cpp and .h and give me some clues on fixing these errors for _UNICODE compile.
thanks
IMapi.cpp
c:\projects\imapi.h(28) : error C2440: '=' : cannot convert from 'unsigned short *' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\projects\imapi.h(33) : error C2440: '=' : cannot convert from 'unsigned short *' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\projects\imapi.cpp(92) : error C2440: '=' : cannot convert from 'unsigned short *' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\projects\imapi.cpp(93) : error C2664: 'wcscpy' : cannot convert parameter 1 from 'char *' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\projects\imapi.cpp(108) : error C2440: '=' : cannot convert from 'unsigned short *' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\projects\imapi.cpp(109) : error C2664: 'wcscpy' : cannot convert parameter 1 from 'char *' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\projects\imapi.cpp(133) : error C2440: '=' : cannot convert from 'unsigned short *' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\projects\imapi.cpp(134) : error C2664: 'wcscpy' : cannot convert parameter 1 from 'char *' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\projects\imapi.cpp(138) : error C2440: '=' : cannot convert from 'unsigned short *' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\projects\imapi.cpp(139) : error C2664: 'wcscpy' : cannot convert parameter 1 from 'char *' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\projects\imapi.cpp(158) : error C2440: '=' : cannot convert from 'unsigned short *' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\projects\imapi.h(28) : error C2440: '=' : cannot convert from 'unsigned short *' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\projects\imapi.h(33) : error C2440: '=' : cannot convert from 'unsigned short *' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.