Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. QuickWin Compile Errors in Visual Studio 2008

QuickWin Compile Errors in Visual Studio 2008

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialannouncementcsharp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    oldbritthumper
    wrote on last edited by
    #1

    Hello, When I try to build the QuickWin source (download link: http://www.codeproject.com/KB/dialog/quickwin.aspx) I get some errors. I *have* done it (built it the same way) several years ago using an earlier version of Visual Studio. Looks like it should be easy to overcome, but I'm not sure how to proceed. Here's a good example to start with: c:\projects\quickwin\quickwin\quickwin.h(28) : error C2504: 'CRedirect' : base class undefined And here's the entire build output (BTW, I am *not* worried about warnings.): 1>------ Build started: Project: QuickWin_Project, Configuration: Debug Win32 ------ 1>Compiling... 1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release 1>QuickTst.cpp 1>c:\projects\quickwin\quicktst\quicktst.cpp(20) : warning C4996: 'gets': This function or variable may be unsafe. Consider using gets_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files (x86)\microsoft visual studio 9.0\vc\include\stdio.h(279) : see declaration of 'gets' 1>c:\projects\quickwin\quicktst\quicktst.cpp(26) : warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details. 1> c:\program files (x86)\microsoft visual studio 9.0\vc\include\string.h(215) : see declaration of 'stricmp' 1>StdAfx.cpp 1>ChildView.cpp 1> WINVER not defined. Defaulting to 0x0600 (Windows Vista) 1>c:\projects\quickwin\quickwin\quickwin.h(28) : error C2504: 'CRedirect' : base class undefined 1>c:\projects\quickwin\quickwin\quickwin.h(66) : error C2146: syntax error : missing ';' before identifier 'm_WinPlace' 1>c:\projects\quickwin\quickwin\quickwin.h(66) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\projects\quickwin\quickwin\quickwin.h(66) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\projects\quickwin\quickwin\quickview.h(26) : error C2065: 'BUFFER_SIZE' : undeclared identifier 1>c:\projects\quickwin\quickwin\childview.cpp(17) : error C2653: 'CChildView' : is not a class or namespace name 1>c:\projects\quickwin\quickwin\childview.cpp(18) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\projects\quickwin\quickwin\childview.cpp(19) : warning C4508: 'CChildView' : function should return a value; 'void' return type assumed 1>c:\projects\quickwin\quick

    _ 1 Reply Last reply
    0
    • O oldbritthumper

      Hello, When I try to build the QuickWin source (download link: http://www.codeproject.com/KB/dialog/quickwin.aspx) I get some errors. I *have* done it (built it the same way) several years ago using an earlier version of Visual Studio. Looks like it should be easy to overcome, but I'm not sure how to proceed. Here's a good example to start with: c:\projects\quickwin\quickwin\quickwin.h(28) : error C2504: 'CRedirect' : base class undefined And here's the entire build output (BTW, I am *not* worried about warnings.): 1>------ Build started: Project: QuickWin_Project, Configuration: Debug Win32 ------ 1>Compiling... 1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release 1>QuickTst.cpp 1>c:\projects\quickwin\quicktst\quicktst.cpp(20) : warning C4996: 'gets': This function or variable may be unsafe. Consider using gets_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files (x86)\microsoft visual studio 9.0\vc\include\stdio.h(279) : see declaration of 'gets' 1>c:\projects\quickwin\quicktst\quicktst.cpp(26) : warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details. 1> c:\program files (x86)\microsoft visual studio 9.0\vc\include\string.h(215) : see declaration of 'stricmp' 1>StdAfx.cpp 1>ChildView.cpp 1> WINVER not defined. Defaulting to 0x0600 (Windows Vista) 1>c:\projects\quickwin\quickwin\quickwin.h(28) : error C2504: 'CRedirect' : base class undefined 1>c:\projects\quickwin\quickwin\quickwin.h(66) : error C2146: syntax error : missing ';' before identifier 'm_WinPlace' 1>c:\projects\quickwin\quickwin\quickwin.h(66) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\projects\quickwin\quickwin\quickwin.h(66) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\projects\quickwin\quickwin\quickview.h(26) : error C2065: 'BUFFER_SIZE' : undeclared identifier 1>c:\projects\quickwin\quickwin\childview.cpp(17) : error C2653: 'CChildView' : is not a class or namespace name 1>c:\projects\quickwin\quickwin\childview.cpp(18) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\projects\quickwin\quickwin\childview.cpp(19) : warning C4508: 'CChildView' : function should return a value; 'void' return type assumed 1>c:\projects\quickwin\quick

      _ Offline
      _ Offline
      _Superman_
      wrote on last edited by
      #2

      You should post on the articles forum section for a better response. Having said that, where does the CRedirect class reside. You're either missing some file or some path is not set to find the include file. Please check the additional include directories option in the project properties.

      «_Superman_»  _I love work. It gives me something to do between weekends.

      _Microsoft MVP (Visual C++)

      Polymorphism in C

      A 1 Reply Last reply
      0
      • _ _Superman_

        You should post on the articles forum section for a better response. Having said that, where does the CRedirect class reside. You're either missing some file or some path is not set to find the include file. Please check the additional include directories option in the project properties.

        «_Superman_»  _I love work. It gives me something to do between weekends.

        _Microsoft MVP (Visual C++)

        Polymorphism in C

        A Offline
        A Offline
        Albert Holguin
        wrote on last edited by
        #3

        Or his compilation order has changed (for whatever reason)...

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups