Re:
- Posted by George Papadopoulos <georgp at otenet.gr> May 09, 2001
- 1867 views
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) retpointer=3Dallocate(4) poke4(pointer,address) -- asm code: pusha push param_z ........ push param_a call near dword ptr [pointer] mov [retpointer], eax 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.