在我的书上,新建类的头文件件是这样写的
#if _MSC_VER>1000
#pragma once
#endlf //_MSC_VER>1000#include <afxwin.h>
#include<mmsystem.h>
class AFX_EXT_CLASS MyClass{
.......
};