End Google Ads 201810 - BS.net 01 --> 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\quickwin\childview.cpp(21) : error C2653: 'CChildView' : is not a class or namespace name
1>c:\projects\quickwin\quickwin\childview.cpp(21) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>LppDlg.cpp
1> WINVER not defined. Defaulting to 0x0600 (Windows Vista)
1>MainFrm.cpp
1> WINVER not defined. Defaulting to 0x0600 (Windows Vista)
1>ParamDlg.cpp
1> WINVER not defined. Defaulting to 0x0600 (Windows Vista)
1>ProcessDlg.cpp
1> WINVER not defined. Defaulting to 0x0600 (Windows Vista)
1>QuickView.cpp
1> WINVER not defined. Defaulting to 0x0600 (Windows Vista)
1>c:\projects\quickwin\quickwin\quickview.cpp(74) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_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\string.h(74) : see declaration of 'strcpy'
1>QuickWin.cpp
1> WINVER not defined. Defaulting to 0x0600 (Windows Vista)
1>c:\projects\quickwin\quickwin\quickwin.cpp(45) : warning C4996: '_splitpath': This function or variable may be unsafe. Consider using _splitpath_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\stdlib.h(786) : see declaration of '_splitpath'
1>c:\projects\quickwin\quickwin\quickwin.cpp(63) : warning C4996: '_splitpath': This function or variable may be unsafe. Consider using _splitpath_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\stdlib.h(786) : see declaration of '_splitpath'
1>c:\projects\quickwin\quickwin\quickwin.cpp(116) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
1>c:\projects\quickwin\quickwin\quickwin.cpp(118) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_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\string.h(74) : see declaration of 'strcpy'
1>c:\projects\quickwin\quickwin\quickwin.cpp(120) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
1>c:\projects\quickwin\quickwin\quickwin.cpp(124) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
1>c:\projects\quickwin\quickwin\quickwin.cpp(159) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
1>c:\projects\quickwin\quickwin\quickwin.cpp(195) : error C2440: 'static_cast' : cannot convert from 'LRESULT (__thiscall CQuickWinApp::* )(WPARAM,LPARAM)' to 'void (__thiscall CWinThread::* )(WPARAM,LPARAM)'
1> None of the functions with this name in scope match the target type
1>Redirect.cpp
1> WINVER not defined. Defaulting to 0x0600 (Windows Vista)
1>c:\projects\quickwin\quickwin\redirect.cpp(110) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_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(366) : see declaration of 'sprintf'
1>c:\projects\quickwin\quickwin\redirect.cpp(395) : warning C4267: 'initializing' : conversion from 'size_t' to 'DWORD', possible loss of data
1>ToolBar.cpp
1> WINVER not defined. Defaulting to 0x0600 (Windows Vista)
1>c:\projects\quickwin\quickwin\toolbar.cpp(95) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_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\string.h(74) : see declaration of 'strcpy'
1>WinPlace.cpp
1> WINVER not defined. Defaulting to 0x0600 (Windows Vista)
1>Generating Code...
1>Build log was saved at "file://c:\Projects\QuickWin\Debug\BuildLog.htm"
1>QuickWin_Project - 10 error(s), 15 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Any ideas are appreciated.

Matt