Hi!
How can I import ordinal functions from a DLL?
Thanks!
How can I import ordinal functions from a DLL?
Thanks!
With the help of our Forum Search
http://www.asmcommunity.net/board/index.php?topic=3526&highlight=import+ordinal
http://www.asmcommunity.net/board/index.php?topic=3526&highlight=import+ordinal
Here is the modified variant of import macro for FASM, when you provide number instead of string the function will be imported by ordinal:
bAZiK: are you sure this thread should have been moved?
macro import [label,string]
{ forward
if +string eq string
label dd 80000000h or string
else
local _label
label dd RVA _label
end if
common
dd 0
forward
if ~ +string eq string
_label dw 0
db string,0
end if }
bAZiK: are you sure this thread should have been moved?
Moved it back. He didnt mention he wants FASM specific code :)
Edit: and changed title a bit :)
Edit: and changed title a bit :)