请朋友帮帮忙,这段C代码如何改成DELPHI的?谢谢! ( 积分: 100 )

X

xie139

Unregistered / Unconfirmed
GUEST, unregistred user!
static char szAction[100];
void Action(int index)
{
memset(szAction, 0, sizeof(szAction));
index = index > Contract? Contract : index < AddSP? AddSP: index;
strcpy(szAction, szActionList[index]);

__asm{
pushad

mov ebx, 0x754ea4
mov ecx, dword ptr ds:[ebx]
push offset szAction
mov ebx, 0x430FD0
call ebx
popad
}
}
 

Similar threads

I
回复
0
查看
641
import
I
I
回复
0
查看
671
import
I
I
回复
0
查看
686
import
I
回复
3
查看
524
菜鸟黄
顶部