Re:
Matthew,
it works, with some difference.
I didn't opened the dll using LoadLibrary but with the standard
Euphoria way, so:
dll_handle=3DGetModuleHandleA("dll_name")
address=3DGetProcAddress(dll_handle,"function_name")
pointer=3Dallocate(4)
poke4(pointer,address)
-- asm code:
pusha
push param_z
........
push param_a
call near dword ptr [pointer]
popa
ret=20
Used CALL NEAR (#FE, #10,...) not CALL FAR (#FF,#15,...)=20
Thank you all
-George
Sorry for the blank header, i just forgot to write something.
|
Not Categorized, Please Help
|
|