|
|
|
[求助]IoAllocateMdl 是干嘛用的?
有人明白吗? |
|
|
|
|
|
[求助]弱弱的问个VC基础问题
VS长期出错,你把工程删了另外新建一个试试 |
|
|
|
[求助]谁能帮写一个(.dll)的游戏修改器!
这种贴会被BAN吧? |
|
[求助]VB如何获得dll的基址
DWORD EnumProcesses(char *ProcessPid,char *Name) { CString output; HANDLE hToken; TOKEN_PRIVILEGES TokenPrivileges; if(OpenProcessToken(GetCurrentProcess(),TOKEN_QUERY | TOKEN_ADJUST_PRIVILEGES,&hToken) == 0) { //output.Format("OpenProcessToken Error: %d\n",GetLastError()); //::OutputDebugString(output); exit(0); } TokenPrivileges.PrivilegeCount = 1; TokenPrivileges.Privileges[0].Attributes = TRUE; LookupPrivilegeValue(NULL,SE_DEBUG_NAME,&TokenPrivileges.Privileges[0].Luid); AdjustTokenPrivileges(hToken,FALSE,&TokenPrivileges,sizeof(TOKEN_PRIVILEGES),NULL,NULL); if(GetLastError() != ERROR_SUCCESS) { //output.Format("AdjustTokenPrivileges Error: %d\n",GetLastError()); //::OutputDebugString(output); exit(0); } CloseHandle(hToken); HANDLE hModuleSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE,atoi(ProcessPid)); if (hModuleSnap == INVALID_HANDLE_VALUE) { ::OutputDebugString("初始化错误,不支持该进程模块枚举\n"); } MODULEENTRY32 ModuleEntry32; ModuleEntry32.dwSize = sizeof(MODULEENTRY32); if(Module32First(hModuleSnap, &ModuleEntry32)) { while (Module32Next(hModuleSnap, &ModuleEntry32)) { SHFILEINFO sfi; int nFlag; nFlag=SHGFI_USEFILEATTRIBUTES | SHGFI_DISPLAYNAME | SHGFI_ICON| SHGFI_SMALLICON; if (SHGetFileInfo (ModuleEntry32.szExePath, FILE_ATTRIBUTE_NORMAL, &sfi, sizeof(SHFILEINFO),nFlag)) { CString Filename,checkname; Filename=ModuleEntry32.szExePath; Filename.MakeUpper(); checkname=Name; checkname.MakeUpper(); //output.Format("dll文件地址: %s\r\n",ModuleEntry32.szExePath); if(Filename.Find(checkname,0)>0) { return (DWORD)ModuleEntry32.modBaseAddr; } //::OutputDebugString(output); //output.Format("模块地址: 0X%X\r\n",ModuleEntry32.modBaseAddr); //::OutputDebugString(output); //output.Format("内存使用大小: %dK\r\n",ModuleEntry32.modBaseSize/1024); //::OutputDebugString(output); //output.Format("***********************************\n"); //::OutputDebugString(output); } } } return 0; } |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值