|
|
|
[原创]http映射1.1(应用层路由程序)[技术交流]
好像没什么意义吧。。。一个健壮的应用总是利用域名来引用服务主机的,不可能用绑在一个固定IP上。 |
|
[求助]用OD怎么保存修改
保存不了,你必须找到需要修改的内容,然后利用其它的16进制编辑器到文件中去修改。 |
|
[讨论]cfg文件中的加密算法问题。求探讨!!!
我们学校用的是锐捷,然后有校园DIY了一个linux版的。。锐捷可以正常用 貌似锐捷的那一套软硬件用的是一个非标准的IEEE 802.11x的实现。 linux下的802.11x实现,或者锐捷这方面,这个前辈了解过么 |
|
[求助]编写键盘记录器(最好用c)
修改工程属性,或者在inclue宏命令之前加入以下语句: #ifdef UNICODE #undef UNICODE #endif #ifdef _UNICODE #undef _UNICODE #endif |
|
[求助]菜鸟求助。已经修改了文件,接下来咋办?
这帖子写的。。。你应该回到原来的执行文件查找对应的MSIL指令,更改了指令之后保存文件,直接用保存后的文件就好了吧。。 不过帖子几乎什么都没说明,可能这回答也不适合你。 |
|
|
|
[讨论]cfg文件中的加密算法问题。求探讨!!!
进来学习一下3des 好多硬编码的数值哦。。。 解码的话近期准备搞定EBML之后攻克GIF图片用的LZW还有png图片用的lz77.. 终极目标是jpeg用的那套离散数学知识。。哈 |
|
|
|
|
|
[讨论]动态内存每次申请的地址都是一样的,这是为什么?
这个感觉可以参考潘爱民老师的一本书。。《Windows内核原理与实现》,讲WRK的。 然后说Windows的内存分配分了几个步骤。 不过我有一个方法确定你可以每次产生不同的地址。 在vista之后,Windows都默认开了ASLR地址随机化功能,就是每次开机的时候在系统范围内确定几个基地址,每次启动时地址一般不同。 因此在vista以及其他的NT6.0以后的系统中,你只需要重启,每次就得到不同的地址了。 再说了,你的进程独享一个平坦地址空间,每次分配同一个内存地址不是一个自然的事情么。。 分配的地址还包含随机因素那反而神了。 |
|
|
|
|
|
|
|
|
|
[求助]win32中如何用GetLastError
上面这个就是例子。 话说我打开一个已存在的句柄,例如打开一个文件内存映射对象,或者通过GetStdHandle得到标准输入等等的,虽然函数调用成功了,但是LastErrorCode仍然不是ERROR_SUCCESS,有没有高手愿意解释下这么设计的用意? |
|
[求助]win32中如何用GetLastError
#include <stdio.h> #include <windows.h> int main(int argc, char *argv[]) { INPUT_RECORD ir; DWORD nRead = 0; HANDLE hFile = GetStdHandle(STD_INPUT_HANDLE); for(;;){ switch(WaitForSingleObject(hFile,1000)){ case WAIT_OBJECT_0: while(PeekConsoleInput(hFile,&ir,1,&nRead) && nRead == 1){ printf("LastError:%d,nRead:%d\n",GetLastError(),nRead); if(ir.EventType == KEY_EVENT){ printf("Key event.\n"); printf("Key %c\n",ir.Event.KeyEvent.uChar.AsciiChar); if(ir.Event.KeyEvent.bKeyDown)printf("Key down.\n"); else printf("Key up.\n"); } ReadConsoleInput(hFile,&ir,1,&nRead); } break; case WAIT_TIMEOUT: printf("nothing.\n"); break; default: printf("unexpected\n"); } } 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 }}
勋章
兑换勋章
证书
证书查询 >
能力值