Hello,
I am trying to recompile a small application written for VS6
using VS.net. It is not mine, but it supposedly compiled
flawlessly under VS6.
I get the folowing error message:
c:\Program Files\Microsoft Visual Studio
.NET\Vc7\atlmfc\include\afxwin.h(2934): error C2061: syntax error :
identifier 'PBUTTON_IMAGELIST'
Searching around for where this datatype is defined, I find it in
c:\Program Files\Microsoft Visual Studio
.NET\Vc7\PlatformSDK\CommCtrl.h,
but I have a feeling that just including this file somewhere in
the source is not what I am supposed to do.
I have Googled for 'PBUTTON_IMAGELIST', no hits. It appears that
I am the only one seeing this problem.
The file that gets this error is StdAfx.cpp, which contains nothing
but:
#include "stdafx.h".
This file essentially goes
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows
headers
#include <afxwin.h>
How is this supposed to work?
Thanks, Enrique