Is it possible to make MS visual C++ compiler treat Win32 API import calls as (unresolved) external symbols?
In other words, I need to change dword ptr
calls which reference to some IAT, e.g.:
FF 15 00 00 00 00 call dword ptr [__imp__MessageBoxA@16]
to external symbol calls, e.g.:
E8 00 00 00 00 call _MessageBoxA@16
This implies that after the compilation I don't need linking, because obviously it won't be possible. So as a product I want to get (MS) COFF .obj
files which such unusual calls of Win32 API.