Parse ExportTable
of a DLL and find target function by hash.
nim c -d:release --d:mingw --opt:size --passC:"-masm=intel" main.nim
Note
Ordinal0x7FB
was taken fromuser32.dll
on a Windows 7 x64 machine. Might be different on other systems.
Resolve WinAPI func. Custom GetProcAddress and GetModuleHandle written in Nim
Nim