Ivor Hortons Beginning Visual C++ 2005
I am encountering the following errors when trying to compile the code give as part of Ex11_01. Could some kind soul kindly offer some advice ....Thank You
----- Build started: Project: EX11_01, Configuration: Debug Win32 ------
Compiling...
ex11_01.cpp
c:\documents and settings\dave ledgett\my documents\visual studio 2005\projects\ex11_01\ex11_01\ex11_01.cpp(14) : error C2440: 'static_cast' : cannot convert from 'const char [6]' to 'long'
There is no context in which this conversion is possible
c:\documents and settings\dave ledgett\my documents\visual studio 2005\projects\ex11_01\ex11_01\ex11_01.cpp(61) : error C2664: 'CreateWindowExA' : cannot convert parameter 3 from 'const wchar_t [28]' to 'LPCSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\documents and settings\dave ledgett\my documents\visual studio 2005\projects\ex11_01\ex11_01\ex11_01.cpp(103) : error C2664: 'DrawTextA' : cannot convert parameter 2 from 'const wchar_t [52]' to 'LPCSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Build log was saved at "file://c:\Documents and Settings\Dave Ledgett\My Documents\Visual Studio 2005\Projects\EX11_01\EX11_01\Debug\BuildLog.htm"
EX11_01 - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========
|