|
|
|
[求助][分享]API编程非MFC
注意,/aa后面有5个','逗号不能多也不能少。前面的五个','是其他参数,可以省略的,链接资源文件参数在第六位,所以*.res必须在5个','逗号后面, |
|
[求助][分享]API编程非MFC
刚才在网上看了一下,BCB++5.5的确有一个简版,没带有可视化IDE。下载看了一下。你可以使用下面的操作: 先建立一个Rc资源,里面包含ICON图标资源。然后用brcc32.exe生成*.res文件,接着用bcc32.exe -W -c *.obj命令生成*.obj文件。最后用ilink32.exe -v *.obj import32.lib cw32.lib c0w32.obj /aa,,,,,*.res命令链接资源文件便可。 (注:其中的*.obj和*.res是你自己的源文件生成的Obj和Res文件) |
|
[求助]如何察看所有exe程序消息
是罗云彬的Win32汇编的例子,下面的链接有该书光盘,里面有你要的东西。 http://www.aogosoft.com/downpage.asp?table=soft&id=105 |
|
[求助]求解
记事本的查找和选择是利用Edit控件的EM_FINDTEXT等消息进行控制的。如果你是自己写编辑控件可没有那么简单,你必须计算字符位置,然后自己处理WM_PAINT消息自画才行。 |
|
[求助]怎么用VB一次读取大量内存数据?
Private Declare Function GetCurrentProcess Lib "kernel32" () As Long Private Declare Function ReadProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpAddress As Long, ByVal lpBuff As Long, ByVal nSize As Long, ByVal lpNumberOfBytesRead As Long) As Boolean Private Sub Command1_Click() Dim by(2) As Byte Dim i, hProcessAs As Long Dim b As Boolean hProcess = GetCurrentProcess() b = ReadProcessMemory(hProcess, App.hInstance, VarPtr(by(0)), UBound(by), i) Text1.Text = Chr(by(0)) + Chr(by(1)) End Sub 如果你要读多个字节,只须将“by”变量数组改大一点即可。 |
|
[求助][分享]API编程非MFC
我没有BC++,只有Delphi,不过BC++和Delphi是一个公司的,操作应该差不多。如果你用BC++编译器,试试在选项里看看有没有修选ICON图标的功能,Delphi选项里是有这个功能的。 |
|
[求助][分享]API编程非MFC
不用RC资源似乎不可能。不过BC++应该也可像VC那样自定义资源文件的。 |
|
[求助][分享]API编程非MFC
只要在Rc资源文件里定义和引入一个ICON图标资源,系统自动取第一个ICON为程序的默认图标。 |
|
[求助]求解
记事本的查找和替换的功能好像和GetFocus函数没有任何关系。 |
|
[求助]求解
GetFocus函数可以获取拥有输入焦点的窗口句柄。也就是那个拥有可以响应键盘事件的窗口句柄。 |
|
已经解决!
将Dword改成Byte试试 |
|
[求助]为什么能自动找到过程?
过程的参数和名字只是给编辑器看的,不是给程序看的,最终编译出来也只是一个函数地址而已。只要你的参数个数和调用约定没有错,程序就能调用成功,否则就会出错。 |
|
如何读出远程进程的PE映射
ReadProcessMemory和WirteProcessMemory |
|
[求助][求助]菜鸟求助~~~~
.386 .model flat,stdcall option casemap:none include windows.inc include user32.inc includelib user32.lib include kernel32.inc includelib kernell32.lib ; kernell32.lib多了一个'l',应该是kernel32.lib才对 .data szCaption db 'A MessageBox !',0 szText db 'Hello,World !',0 .code start: invoke MessageBox,NULL,offfset szText,offset szCaption,MB_OK or MB_YESNO ; offfset多了一个'f' invoke ExitProcess,NULL end start |
|
[求助]初级求助!
使用Set安装的异常必须使用OllyDBG的Hide插件的UnhandledExceptionFilter选项打一下补丁才能进入那个异常处理函数。 如果你的OD没有这个插件,可以到这里下载:Hide插件下载地址:http://www.pediy.com/tools/Debuggers/ollydbg/plugin.htm |
|
[求助]为别的程序增加功能
看论坛精华集中的pediy部分 |
|
[求助]这两个fopen函数的返回值为什么不同?
测试了一下,静态库函数返回的地址和动态库函数返回的地址不能通用,静态库函数返回的地址只能使用静态库函数fwrite操作,动态库函数返回的地址只能通过动态库函数的fwrite操作。操成这个原因可能是因为像这些fopen等函数内部使用了某些全局的变量,所以静态库的函数不能和动态库的函数混合使用。 |
|
[求助]这两个fopen函数的返回值为什么不同?
C带有两个运行库,一个是静态的,一个是动态的,第一个你使用的是静态库中的函数。 你的第二个函数不成功的原因我想可能是你那个硬编码出现的错误,函数最好不要使用硬编码,最好使用GetProcAddress获取再call。 |
|
[求助]有关Delphi的问题
试了一下,你那句没有问题,我这里可以打开网页。 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值