|
|
|
|
|
[求助]谁会用汇编给程序做超级链接?
Include Shell32.inc |
|
[求助]谁会用汇编给程序做超级链接?
最初由 dons 发布 invoke是一个宏命令,作用就是将函数的参数一个个push起来,简化调用函数方法。如上面的例子invoke ShellExecute,NULL,NULL,offset szHomePage,NULL,NULL,NULL也可以写成下面那样: push NULL push NULL push NULL push offset szHomePage push NULL push NULL call ShellExecute |
|
[求助]谁会用汇编给程序做超级链接?
;很简单,只需处理按钮等其它响应事件,然后在响应事件中调用ShellExecute函数就可以实现超级连接。 .data szHomePage db 'http://bbs.pediy.com',0 .code start: invoke ShellExecute,NULL,NULL,offset szHomePage,NULL,NULL,NULL invoke ExitProcess,NULL end start |
|
关于xp2的ring3级获取kernel32地址[求助]
.386 .model flat, stdcall option casemap :none include windows.inc include user32.inc include kernel32.inc includelib user32.lib includelib kernel32.lib .DATA szBuff db 50 dup(0) szTitle db 'Kernel32Base',0 szFormat db '%X',0 .CODE START: mov eax,[esp] and eax,0ffff0000h _step1: cmp WORD ptr [eax],'ZM' jnz _step2 mov edx,eax add edx,[edx+3ch] cmp WORD ptr [edx],'EP' jnz _Exit invoke wsprintf,offset szBuff,offset szFormat,eax invoke MessageBox,NULL,offset szBuff,offset szTitle,MB_OK jmp _Exit _step2: sub eax,10000h cmp eax,70000000h jb _Exit jmp _step1 _Exit: invoke ExitProcess,0 end START |
|
[求助]还是个DLL问题
.data? Buff db 50 dup(?) SetBuff proc ;这里执行A+B=C的运算 ;并将运算结果保存在全局变量Buff中 ret SetBuff endp GetBuff proc lea eax,Buff ;将Buff的地址传出。 ret GetBuff endp ;将GetBuff函数导出,并在程序中调用GetBuff就可以得到C的值了。 |
|
|
|
|
|
[求助]关于用汇编语言编的Dll文件在c++中的调用..
哦,怎么不能调用?你是如何调用的? |
|
|
|
|
|
[求助]如何在VB6中调用静态链接库?
Declare Function 函数名 Lib "Dll名" Alias "函数别名" (参数) 返回值 或者: Declare Function 函数名 Lib "Dll名" (参数) 返回值 例子: Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long Declare Function GetWindowTextA Lib "user32" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long 注:如果声明中有 Alias "别名" 则可以将函数名可以任意声明,(但别名必须和Dll里函数名和字母大小写格式一样),如果声明中没有别名,则函数名必须和Dll里的函数名称字母大小写一样格式。还有静态链接库的函数调用约定必须是StdCall约定。因为VB只支持这个约定调用。 |
|
[求助]DELPHI 如何调用ASM写的DLL中的函数
在Delphi里调用DLL的函数应该不难。 只需在Delphi里声明调用的函数名,调用约定,调用Dll名就行了,如下面Dll函数声明格式: Function 函数名(参数名:类型):返回类型; External 'Dll名'; 调用约定; |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值