Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Meet and Greet (http://www.go4expert.com/community/meet-and-greet/)
-   -   Microsoft Visual Studio 2010 (http://www.go4expert.com/community/microsoft-visual-studio-2010-t28695/)

Prince_Sakhala 9Jul2012 12:36

Microsoft Visual Studio 2010
 
I compiled some source code with windows vs 2010 & got the report below.What could be the cause? Help please!


1>------ Build started: Project: HelloWorld, Configuration: Debug Win32 ------
1>Build started 7/9/2012 8:21:16 AM.
1>InitializeBuildStatus:
1> Touching "Debug\HelloWorld.unsuccessfulbuild".
1>ClCompile:
1> helloWorld.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1>c:\users\abalone\documents\visual studio 2010\projects\helloworld\helloworld\helloworld.cpp (34): error C2664: 'CFrameWnd::Create' : cannot convert parameter 2 from 'const char [13]' to 'LPCTSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\abalone\documents\visual studio 2010\projects\helloworld\helloworld\helloworld.cpp (39): error C2664: 'CStatic::Create' : cannot convert parameter 1 from 'const char [12]' to 'LPCTSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:52.21


All times are GMT +5.5. The time now is 17:28.