【毁星源码四十五级源码】【项目管理系统源码】【易语言源码获取】c 钩子源码_钩子代码
1.下面代码有错误码? error C2533: 'Cmousehook::Cmousehook' : constructors not allowed a return type
下面代码有错误码? error C2533: 'Cmousehook::Cmousehook' : constructors not allowed a return type
//Cmousehook.h
class AFX_EXT_CLASS Cmousehook:public CObject
{
public:
Cmousehook();
//钩子类的钩钩代毁星源码四十五级源码构造函数
~Cmousehook();
//钩子类的析构函数
BOOL starthook(HWND hWnd);
//安装钩子函数
BOOL stophook();
// 卸载钩子函数
};
//Cmousehook.cpp
Cmousehook::Cmousehook()
//类构造函数
{
};//分号
Cmousehook::~Cmousehook()
//类析构函数
{
stophook();
};//分号