1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Microsoft Visual Studio 2010

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

  1. Prince_Sakhala

    Prince_Sakhala New Member

    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