My project still work. I have VisualC++ 6.0 with SP3 on NT4.0.
I had created a new empty project of type console aplication, I have chosen the last option with mfc support and it works. Below are my .h file and stdafx.h file:
#include <afxcoll.h>
class CRecorder
{
public:
CRecorder();
virtual ~CRecorder();
static CObList FreeDevs;
static CObList BusyDevs;
};
//stdafx.h
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afx.h>
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <iostream>
////////////////////////
You should have make your project work, by now.
Hope this is getting you out of trouble. s-)
Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees...