|
[讨论]VB读写内存问题
问题出在lpBaseAddress传址,至于后面lpBuffer加byval为何不行,就不追究了,这种声明方式并没有错,不是么 |
|
[讨论]VB读写内存问题
您先去编译试试。。。 |
|
[求助]mfc无边框窗体win7动画的问题
亲一个~~ |
|
[求助]mfc无边框窗体win7动画的问题
不不,您理解错了,我不是想手动添加动画效果,而是想知道是哪个风格决定WIN7 AERO效果的存在,BORDERLESS 风格貌似都没有AERO效果了 |
|
[求助]mfc无边框窗体win7动画的问题
[QUOTE=Diabloking;1367313]https://github.com/melak47/BorderlessWindow 看这个例子, 用WS_*弄出来的会没有动画[/QUOTE] 谢谢啦,有没有VC6的例子呢。。。猜到应该是某种风格导致的 |
|
[讨论]VB读写内存问题
都一样 |
|
[讨论]VB读写内存问题
OK找到原因了,API的传址方式错误。。。BASEDADDRESS应该用BYVAL传进去。 Private Declare Function WriteProcessMemory _ Lib "kernel32" (ByVal hProcess As Long, _ ByVal lpBaseAddress As Any, _ ByVal lpBuffer As Any, _ ByVal nSize As Long, _ lpNumberOfBytesWritten As Long) As Long 这样就OK |
|
[推荐]看雪论坛客户端 for Windows Phone正式发布![代码开源]
感谢LZ,我是100位独立用户中的一位。。。 提个建议,LUMIA520 系统黑底色亦或白底色 显示程序的关于界面的时候文字都看不清楚,也不知道原因。 最后还是感谢LZ |
|
|
|
|
|
[求助]如何一个程序窗体中包含指定信息的话在进程中找出他?
不要枚举进程了,直接枚举窗体并且枚举窗体子窗体判断结果,用枚举进程还可能要读内存等一系列动作 |
|
|
|
[求助]一段vb6.0的监视进程的代码帮忙看看哪里错误
enen,没事,也谢谢楼上的啦,学习了 |
|
[求助]一段vb6.0的监视进程的代码帮忙看看哪里错误
Dim hwnd&, Pid&, pHandle&, str As String * 20 hwnd = FindWindow(vbNullString, "计算器") '这里测试的是计算器 If (hwnd = 0) Then Exit Sub GetWindowThreadProcessId hwnd, Pid pHandle = OpenProcess(&H1F0FFF, 0, Pid) If (pHandle = 0) Then Exit Sub GetModuleBaseName pHandle, 0, str, Len(str) MsgBox "进程名为:" & Trim(str), , "哈哈" '计算器的进程名称 CloseHandle pHandle 这段代码缺了PostMessage的API声明,并且最后一行Close的对象。。。 之后的代码问题,LZ是要循环检测,好歹给个timer或者LOOP吧,后面findwindow赋值的窗体名也不能用引号打着,后面的就建议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 }}
勋章
兑换勋章
证书
证书查询 >
能力值