|
|
|
|
|
[求助]关于监视进程打开的文件问题。
调用nativeapi时特讨厌写声明写getprocaddress 用asm写 |
|
|
|
MessageBox(0,(LPCTSTR)"vs2008",0,MB_ICONWARNING);这一句经过VS2008编译,执行起来怎么输出有乱码呢???
VS200X 默认是UNICODE 所以把你的字符串用TEXT()包装一下, 或者用"L"前缀 MessageBox(0, TEXT("vs2008"), 0, MB_ICONWARNING); MessageBox(0, L"vs2008", 0, MB_ICONWARNING); |
|
|
|
|
|
[求助][求助]为什么ZwQuerySystemInformation总是返回0xC0000005
用这个试试 LPVOID GetSystemHandleInfomation() { ULONG ulSize = 0x8000; ULONG ulRequired; LPVOID pvBuffer; NTSTATUS Status; do { pvBuffer = HeapAlloc(GetProcessHeap(), 0, ulSize); if (!pvBuffer) { return NULL; } Status = NtQuerySystemInformation(SystemHandleInformation, pvBuffer, ulSize, &ulRequired); if (Status == STATUS_INFO_LENGTH_MISMATCH) { HeapFree(GetProcessHeap(), 0, pvBuffer); ulSize *= 2; } } while(Status == STATUS_INFO_LENGTH_MISMATCH); if (NT_SUCCESS(Status)) { return pvBuffer; } HeapFree(GetProcessHeap(), 0, pvBuffer); return NULL; } |
|
[求助][求助]为什么ZwQuerySystemInformation总是返回0xC0000005
你相关的代码要贴出来才好分析 |
|
|
|
[求助]一个C++指针的问题 请教
basic_ostream<....> 类的<< (..., const char *)就是那样重载的 如果你想输出地址 cout << (void *)pc << endl; 就可以了 |
|
|
|
|
|
[求助]DDK编译时显示源程序有错误,但我始终找不到,希望大家帮忙找找啊,代码很短,我实在没辙了~~
#define IOCTL_CODE1 CTL_CODE(FILE_DEVICE_UNKNOWN,0xfff,METHOD_IN_DIRECT,FILE_ANY_ACCESS); 分号去了 宏是直接替换的 你加了分号 if ( ...;) 肯定报错的 |
|
|
|
|
|
|
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值