i`ve removed from start all the code concerning the crowd, and got about 20 errors. after removing the "ResHandle _fontMatRes, _logoMatRes;" line from app.h i got it down to 6 errors.
Code:
d:\work\coding\horde_test_final\horde_test_final\main.cpp(88) : error C2664: 'UnregisterClassW' : cannot convert parameter 1 from 'const char [11]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\work\coding\horde_test_final\horde_test_final\main.cpp(115) : error C2440: '=' : cannot convert from 'const char [11]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\work\coding\horde_test_final\horde_test_final\main.cpp(165) : error C2664: 'CreateWindowExW' : cannot convert parameter 2 from 'const char [11]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\work\coding\horde_test_final\horde_test_final\main.cpp(182) : warning C4311: 'type cast' : pointer truncation from 'HDC' to 'int'
d:\work\coding\horde_test_final\horde_test_final\main.cpp(185) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [27]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\work\coding\horde_test_final\horde_test_final\main.cpp(298) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [24]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\work\coding\horde_test_final\horde_test_final\main.cpp(307) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [120]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
if it is not to much to ask, could you clear for me the sample and upload it somewhere? this would get me going, and give me a chance to make some meaningfull posts next time
