|
[原创]native app开发小结
谢谢楼主分享。 |
|
[分享]AutoRun病毒的“自我防御”
打酱油,顺便学习。 |
|
[原创]《剑走偏峰——来自一个中国人的C++教程》系列二
很好很强大。 不过1.exe &&dir 和2.exe&&dir没有执行dir并不代表1.exe和2.exe没有执行成功,因为&&只是根据前面的%errorlevel%是否为0来判断执行与否,而void类型明显不可能返回0,当然也就无法执行后面的语句了。 |
|
[求助]postquitmessage错误!
谢谢LS的大大,虽然可以结束process,但是getmessage返回-1应该是错误吧,用od看了一下,hWnd和pMsg都没有错误,但就是在消息循环里面出不来。 仔细看了一下getmessage的说明: 函数功能:该函数从调用线程的消息队列里取得一个消息并将其放于指定的结构。此函数可取得与指定窗口联系的消息和由PostThreadMesssge寄送的线程消息。此函数接收一定范围的消息值。GetMessage不接收属于其他线程或应用程序的消息。 娘的,原来hWnd应该使用NULL,修改成: @@: 就OK了。 之前一直怕是msgloop中有问题,用od跟进postqiutmessage就杯具了,所以一直在msgloop中找原因,思路太狭隘了,谢谢LS的大大。 |
|
[求助]postquitmessage错误!
[QUOTE=iiii;769216]消息处理有错呗 invoke GetMessage,ebx,dword ptr [ebp - 4],0,0 test eax,eax jz @f ---- 改成jb就好了,不过还是认真把消息处理好吧[/QUOTE] jz改jb一样报错。 而且CPU占用一下就100%了。 也许休息一晚明天看就好了吧。 希望今天有大大能替我解惑,谢大大了。 |
|
|
|
|
|
|
|
[求助]Win32 Asm 进度条 花式
作个记号,等待学习。 |
|
[求助]请各位大侠帮忙看看那里写错了,偶是菜鸟
Typically, the dialog box procedure should return TRUE if it processed the message, and FALSE if it did not. If the dialog box procedure returns FALSE, the dialog manager performs the default dialog operation in response to the message. 你只响应WM_INITDIALOG和WM_CLOSE两个消息,其他的消息没法处理,当然卡死了。 MSDN上说了,不处理的消息就要返回false,不知道这里用DefWindowProc行不行,从来没有试过,个人认为也许大概说不准应该可以吧。 另外建议LZ不要在一个invoke里面用俩addr,否则出错地。 |
|
|
|
[原创]字符串函数的汇编实现
repne scasb //scan byte,字符串搜索,在edi指向的内存空间中搜索与eax相等的值,也就是结束符0 很明显的笔误.scasb应该是和al比较吧. 另外个人认为每次scasb前加个cld应该更严谨一些. |
|
[推荐]BIOS研发技术剖析pdf
已下载,谢谢LZ分享。 |
|
[求助]关于GUID
学坏容易学好难啊。 |
|
|
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值