You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the read me file and wanted to start the tutorial and I keep getting a number of errors in VS2015 that i cant seem to figure out, can someone help me out?
visual studio 2015\projects\awe\awe\view_win.cc(31): error C2664: 'HWND CreateWindowExA(DWORD,LPCSTR,LPCSTR,DWORD,int,int,int,int,HWND,HMENU,HINSTANCE,LPVOID)': cannot convert argument 2 from 'const wchar_t [13]' to 'LPCSTR'
visual studio 2015\projects\awe\awe\view_win.cc(31): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
visual studio 2015\projects\awe\awe\view_win.cc(86): error C2440: '=': cannot convert from 'const wchar_t [13]' to 'LPCSTR'
visual studio 2015\projects\awe\awe\view_win.cc(86): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
visual studio 2015\projects\awe\awe\view_win.cc(114): error C2664: 'BOOL SetWindowTextA(HWND,LPCSTR)': cannot convert argument 2 from 'const wchar_t *' to 'LPCSTR'
visual studio 2015\projects\awe\awe\view_win.cc(114): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1> application_win.cc
visual studio 2015\projects\awe\awe\application_win.cc(60): error C2664: 'int
MessageBoxA(HWND,LPCSTR,LPCSTR,UINT)': cannot convert argument 2 from 'const wchar_t *' to 'LPCSTR'
visual studio 2015\projects\awe\awe\application_win.cc(60): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
The text was updated successfully, but these errors were encountered:
I followed the read me file and wanted to start the tutorial and I keep getting a number of errors in VS2015 that i cant seem to figure out, can someone help me out?
visual studio 2015\projects\awe\awe\view_win.cc(31): error C2664: 'HWND CreateWindowExA(DWORD,LPCSTR,LPCSTR,DWORD,int,int,int,int,HWND,HMENU,HINSTANCE,LPVOID)': cannot convert argument 2 from 'const wchar_t [13]' to 'LPCSTR'
visual studio 2015\projects\awe\awe\view_win.cc(31): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
visual studio 2015\projects\awe\awe\view_win.cc(86): error C2440: '=': cannot convert from 'const wchar_t [13]' to 'LPCSTR'
visual studio 2015\projects\awe\awe\view_win.cc(86): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
visual studio 2015\projects\awe\awe\view_win.cc(114): error C2664: 'BOOL SetWindowTextA(HWND,LPCSTR)': cannot convert argument 2 from 'const wchar_t *' to 'LPCSTR'
visual studio 2015\projects\awe\awe\view_win.cc(114): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1> application_win.cc
visual studio 2015\projects\awe\awe\application_win.cc(60): error C2664: 'int
MessageBoxA(HWND,LPCSTR,LPCSTR,UINT)': cannot convert argument 2 from 'const wchar_t *' to 'LPCSTR'
visual studio 2015\projects\awe\awe\application_win.cc(60): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
The text was updated successfully, but these errors were encountered: