|
[讨论]给大家出一道有点意思的算法题
我要求是有一个函数来实现这个功能,如: 当d1=1234567时,执行: 1234567 * func1(1234567) 相乘的结果是1 , 说明白一点,这个结果是一个64位数据,,但低32位是1 注意, 函数func1返回的是DWORD值, 这个函数func1如何实现? |
|
[原创]用软件自身制作正版注册机
现在明码比较的软件可是越来越少了 |
|
|
|
[原创]分析一个好玩的c语言程序
这段程序有点意思,不过,说白了就是在堆栈中构造了一段指令码,然后让程序进入堆栈执行指令。 如果在Release环境下,采用Maximize Speed 或 Minimize Size编译时,都会将变量c1,c2优化掉,这时,程序运行就会出现异常。 |
|
[求助]向子窗口控件发送消息
char pBuf[100]; ::GetDlgItemText(m_hWnd,,IDC_EDIT1,pBuf,100); ::SetDlgItemText(hWnd1,IDC_EDIT2,pBuf); |
|
[求助]定时器 SetTimer...
楼上理解好像有误, 并不是每一个定时器都需要消息循环的, 只要正确指定了定时处理的回调函数,我在VC下,经常这样用(完全没有窗口和消息循环). 建议LZ好好查检查一下程序,应该是可行的,Delphi程序语法格式我不是很清楚...... |
|
没问题了...已经解决了...
应该是你那个ShellExecute函数执行失败, 可以跟进,找一下原因出在哪里 |
|
|
|
[求助]向子窗口控件发送消息
方法太多了.... LZ 所说的好像是同一进程,比如: 用一个全局变量,或者通过发送WM_SETTEXT或者WM_COPYDATA消息,或者通过自定义消息,或者通过函数参数传递,都可以嘛 对于不同进程,可以用: 通过发送WM_SETTEXT或者WM_COPYDATA消息,通过内存映射文件,通过剪粘板,通过ReadProcessMemory, 通过DLL,通过注册表......都可以 |
|
|
|
[求助]怎么取得程序在内存中的入口地址
你那是EXE程序吗,EXE程序加载的地址一般来说是固定的,DLL程序可能会发生地址重定位. 程序的句柄的就是PE文件的DOS头部,头两个字节是:'M' 'Z" ',不是程序入口,其入口可以在得到句柄后,根据随后的PE可选头的结构体中有一个入口地址数据成员,读出它就可知道了. 如果发生重定位,还要加上优先加载基址值与句柄的差值. |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值