|
|
|
|
|
[转帖]32/64-bit 80×86 Assembly Language Architecture
Nice book. Thx 4 sharing. |
|
请问masm32的嵌套结构体如何初始化?
try this one: _Configs struct nEditMode dd ? nAutoSaveTime dd ? windowRect RECT 5 DUP <> _Configs ends dbConf _Configs <1,120,< <80000000h,80000000h,800,600>,<10,10,300,400>,<340,10,300,400>,<20,440,700,60>,<20,540,700,60> > > |
|
[原创]native app开发小结
native的木马岂不是很可怕,比如纪录windows登录密码 |
|
请问masm32的嵌套结构体如何初始化?
dbConf _Configs <1,120,< <80000000h,80000000h,800,600>,<10,10,300,400>,<340,10,300,400>,<20,440,700,60>,<20,540,700,60> > > |
|
[转帖]优秀程序员的十个习惯
讲得句句在理啊。 虽然我不是程序员,但是我对其中几点深有体会,想谈谈一些不成熟的看法: 2.多语言。 我认为掌握至少一门脚本是必要的。不管是python,perl,bash甚至于windows的批处理也好。有时候,在一些需要迅速速得出结果,而对性能要求不高的场合,脚本是一个很好的选择。 3.操作系统。 以前一直在windows上面混。接触ubuntu两年了,至今未入门,只会用简单的cd命令和写一些简单的bash脚本。arm也偶有涉及。多平台的好处,从我现在的高度,是看不出来啦。我还是比较喜欢windows的。 4.开发环境。 visual studio确实是相当不错。有时候,写一些简单的小程序,用vi,gedit,notepad++也是不错的。(个人比较不喜欢vi。)当然了,如果asm的话,一定是要用RadASM了。 5.版本管理。 几年前还从未听说过这个东西。自从用了svn之后,腰不酸了,背不疼了,腿不抽筋了……反正谁用谁知道! 9.设计灵活。 有一本书好像叫做什么敏捷编程的,讲的就是这个意思。程序设计要灵活,以便在将来需求更改的时候,只要修改少量的代码就可以了。 |
|
[求助]向大家问一下,VC6.0中,如何计算一个函数的实际大小?
楼上的是用debug版的吧,换release就好了 |
|
[求助]向大家问一下,VC6.0中,如何计算一个函数的实际大小?
用static不好使 vc的编译器跟asm不一样,函数的顺序跟源代码的顺序不一定是一样的 以下是我摸索出来的方法 void func() { // some code } void end() { // do something else } int length = (int)end-(int)func;然后 最关键的是: 编译器选项,要设置/Gy 链接器选项,要设置/Order:@order.txt 然后把函数顺序放到order.txt里面: 如果是C函数,就类似于: func end如果是C++,就类似于: ?func@@YGKPAX@Z ?end@@YGKPAX@Z还有就是,end函数最好不要为空,否则编译器优化之后,可能把这个函数移到别的地方去 也可以用#pragma optimize把end函数的优化禁用 具体用法参见MSDN 对了,我用的VS2008,不知道6.0有没有这些编译选项 |
|
|
|
|
|
[原创]关于软件项目开发的一个思考
有这种软件,在你的电脑上放广告,积累时间点数换钱,说白了就是网赚。 广告商提供广告给软件作者,软件打开的时候会自动显示广告。作者工具用户点击广告的数量获得提成。用户根据积累时间以及发展下线获得收入。(怎么觉得有点像传销了) 我试过一个,那个程序做得兼容性很烂,经常导致死机,后来就不用了。 |
|
[原创]图片右键转换(格式、尺寸、特效、旋转) [附源码]
微软早就有一个类似的工具了ImageResizer,集成到右键菜单的 http://download.microsoft.com/download/whistler/Install/2/WXP/EN-US/ImageResizerPowertoySetup.exe 不过LZ的这个功能比较强大,支持了 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值