個人的なメモです.
コンソール AP で,MFC を使用する様に変更すると ...
--------------------Configuration: PrtctT - Win32 Debug--------------------
Compiling...
PrtctT.cpp
t:\develop\_.src\_yet\winmfc.hxx(68) : error C2065: 'CListCtrl' : undeclared identifier
t:\develop\_.src\_yet\winmfc.hxx(68) : error C2065: 'ctrl' : undeclared identifier
t:\develop\_.src\_yet\winmfc.hxx(68) : error C2059: syntax error : 'const'
t:\develop\_.src\_yet\winmfc.hxx(68) : error C2143: syntax error : missing ';' before '{'
t:\develop\_.src\_yet\winmfc.hxx(68) : error C2447: missing function header (old-style formal list?)
t:\develop\_.src\_yet\winmfc.hxx(87) : error C2065: 'CTreeCtrl' : undeclared identifier
t:\develop\_.src\_yet\winmfc.hxx(87) : error C2059: syntax error : 'const'
t:\develop\_.src\_yet\winmfc.hxx(87) : error C2143: syntax error : missing ';' before '{'
t:\develop\_.src\_yet\winmfc.hxx(87) : error C2447: missing function header (old-style formal list?)
Error executing cl.exe.
PrtctT.exe - 9 error(s), 0 warning(s)
#include <AfxCmn.h> を追加して対応.