1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Microsoft Visual Studio 2010

Discussion in 'Meet and Greet' started by Prince_Sakhala, Jul 9, 2012.

  1. Prince_Sakhala

    Prince_Sakhala New Member

    Joined:
    Jul 9, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Engineer
    Location:
    Bulawayo
    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
     

Share This Page