Ive tried it a couple of times but I am still getting 58 errors, no matter what i do.
1>c:\users\daniel\desktop\test\window.cpp(42) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char *' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\daniel\desktop\test\window.cpp(48) : error C2664: 'LoadImageW' : cannot convert parameter 2 from 'const str' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\daniel\desktop\test\window.cpp(50) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char *' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\daniel\desktop\test\window.cpp(56) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [19]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>test.cpp
1>c:\users\daniel\desktop\test\test.cpp(5) : error C2065: 'TGame' : undeclared identifier
1>c:\users\daniel\desktop\test\test.cpp(5) : error C2146: syntax error : missing ';' before identifier 'game'
1>c:\users\daniel\desktop\test\test.cpp(5) : error C2065: 'game' : undeclared identifier
1>c:\users\daniel\desktop\test\test.cpp(9) : error C2065: 'game' : undeclared identifier
1>c:\users\daniel\desktop\test\test.cpp(9) : error C2228: left of '.Initialize' must have class/struct/union
1> type is ''unknown-type''
1>c:\users\daniel\desktop\test\test.cpp(12) : error C2065: 'game' : undeclared identifier
1>c:\users\daniel\desktop\test\test.cpp(12) : error C2228: left of '.scene' must have class/struct/union
1> type is ''unknown-type''
1>c:\users\daniel\desktop\test\test.cpp(12) : error C2228: left of '.LoadMap' must have class/struct/union
1>c:\users\daniel\desktop\test\test.cpp(13) : error C2065: 'game' : undeclared identifier
1>c:\users\daniel\desktop\test\test.cpp(13) : error C2228: left of '.scene' must have class/struct/union
1> type is ''unknown-type''
1>c:\users\daniel\desktop\test\test.cpp(13) : error C2228: left of '.SetCurrentPlayer' must have class/struct/union
1>c:\users\daniel\desktop\test\test.cpp(14) : error C2065: 'game' : undeclared identifier
1>c:\users\daniel\desktop\test\test.cpp(14) : error C2228: left of '.scene' must have class/struct/union
1> type is ''unknown-type''
They are a few of them. Help appreciated.
Thanks,
Dan