Use another way to call functions

xiaoxiao2021-03-06  88

You can compile the code yourself, see why it is this :)

#include

#include

Void __stdcall test1 ()

{

Printf ("TEST1 / N");

}

void __stdcall test2 ()

{

Printf ("TEST2 / N");

}

void __stdcall test3 ()

{

Printf ("TEST3 / N");

}

Int main (int Argc, char * argv [])

{

__ASM

{

PUSH 0

PUSH 0

Mov Eax, EXIXITPROCESS

Push EAX

Lea Eax, Test1

Push EAX

Lea Eax, Test2

Push EAX

Lea Eax, Test3

Push EAX

RET

}

}

转载请注明原文地址:https://www.9cbs.com/read-122455.html

New Post(0)