|
关于LSP的问题
有个问题困扰很久了,我自已编写的TCP/IP通迅软件是可以通过代理服务器通信的。但是一换成游戏就不能正常了。lpWSPConnect这里调用是出错的。在网上收了好久的资料,估计是阻塞与非阻塞的问题,有哪位老大知道这里面的原因啊。 |
|
关于LSP的问题
我自已架设了一个socket5代理服务器。可以正确运行,应该是我找的那些代理IP可能有问题吧。后期再观察 |
|
这两种汇编格式有哪样区别?
第一种是可以编译的哦。如果加了分号就不能编译了。我就是想问一下这个分号的原因。 mov ecx,[0x706000]这个不加分号可以正常访问数据。如果加了分号就必须加ds:才能正常访问。 |
|
|
|
[求助]学驱动编程,编译出错
我以前都可以编译的。 |
|
[求助]能不能将类作为CreateRemoteThread的参数
那这样就麻烦了。我还不如一个一个函数直接写入执行了。 |
|
[求助]能不能将类作为CreateRemoteThread的参数
能说详细一点嘛。 |
|
[求助]这样直接调用call可行吗?错在哪里?
救救我吧。 |
|
[求助]这样直接调用call可行吗?错在哪里?
这样怎么执行也会出错?? static DWORD WINAPI Msg(LPVOID pData) { ::MessageBox(NULL,(LPCWSTR)"abce",NULL,NULL); return 0; } static void afterMsg() { } void CzhuruDlg::OnBnClickedButton1() { // TODO: 在此添加控件通知处理程序代码 DWORD dwRemoteProcessId; HANDLE hRemoteProcess; BOOL iReturnCode; DWORD startadr,endadr; dwRemoteProcessId=0x3154; hRemoteProcess = OpenProcess(PROCESS_CREATE_THREAD|PROCESS_VM_WRITE|PROCESS_VM_OPERATION,FALSE,dwRemoteProcessId ); char szBuffer[10]="abcdefg"; *(DWORD*)szBuffer=1000;//for test void *pDataRemote =(char*) VirtualAllocEx( hRemoteProcess, 0, sizeof(szBuffer), MEM_COMMIT, PAGE_READWRITE ); //步骤5:写内容到目标进程中分配的变量空间 WriteProcessMemory( hRemoteProcess, pDataRemote, szBuffer,sizeof(szBuffer),NULL); //计算代码大小 DWORD cbCodeSize=((LPBYTE)afterMsg - (LPBYTE) Msg); //分配代码地址空间 PDWORD pCodeRemote = (PDWORD) VirtualAllocEx( hRemoteProcess, 0, cbCodeSize, MEM_COMMIT, PAGE_EXECUTE_READWRITE ); //步骤7:写内容到目标进程中分配的代码地址空间 WriteProcessMemory( hRemoteProcess, pCodeRemote, &Msg, cbCodeSize, NULL); HANDLE hThread = CreateRemoteThread(hRemoteProcess, NULL, 0, (LPTHREAD_START_ROUTINE) pCodeRemote,pDataRemote, 0 , NULL); } |
|
VC2008与LUA一起用编译出现问题,求助
有的。 // MyLUA.cpp : 定义应用程序的类行为。 // #include "stdafx.h" #include "MyLUA.h" #include "MyLUADlg.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CMyLUAApp BEGIN_MESSAGE_MAP(CMyLUAApp, CWinApp) ON_COMMAND(ID_HELP, &CWinApp::OnHelp) END_MESSAGE_MAP() // CMyLUAApp 构造 CMyLUAApp::CMyLUAApp() { // TODO: 在此处添加构造代码, // 将所有重要的初始化放置在 InitInstance 中 } // 唯一的一个 CMyLUAApp 对象 CMyLUAApp theApp; // CMyLUAApp 初始化 BOOL CMyLUAApp::InitInstance() { // 如果一个运行在 Windows XP 上的应用程序清单指定要 // 使用 ComCtl32.dll 版本 6 或更高版本来启用可视化方式, //则需要 InitCommonControlsEx()。否则,将无法创建窗口。 INITCOMMONCONTROLSEX InitCtrls; InitCtrls.dwSize = sizeof(InitCtrls); // 将它设置为包括所有要在应用程序中使用的 // 公共控件类。 InitCtrls.dwICC = ICC_WIN95_CLASSES; InitCommonControlsEx(&InitCtrls); CWinApp::InitInstance(); AfxEnableControlContainer(); // 标准初始化 // 如果未使用这些功能并希望减小 // 最终可执行文件的大小,则应移除下列 // 不需要的特定初始化例程 // 更改用于存储设置的注册表项 // TODO: 应适当修改该字符串, // 例如修改为公司或组织名 SetRegistryKey(_T("应用程序向导生成的本地应用程序")); CMyLUADlg dlg; m_pMainWnd = &dlg; INT_PTR nResponse = dlg.DoModal(); if (nResponse == IDOK) { // TODO: 在此放置处理何时用 // “确定”来关闭对话框的代码 } else if (nResponse == IDCANCEL) { // TODO: 在此放置处理何时用 // “取消”来关闭对话框的代码 } // 由于对话框已关闭,所以将返回 FALSE 以便退出应用程序, // 而不是启动应用程序的消息泵。 return FALSE; } |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值