c - Base address of WinAPI across all versions of Windows -
let's assume hardcode given address windows api executable. can assume address evaluate correct api across windows versions (xp, 7, vista, server07/12, etc)?
if not, possible me make without obtaining address before-hand (getprocaddress or enumerating dll ordinals)?
would have provide prepackaged version of .dll given address inside application?
the answer questions no.
relative function entry point address vary 1 version of windows next, vary on system updates.
the dlls have base addresses vary version version. , finally, dlls need not load @ desired base address. may relocated.
finally, cannot redistribute system dlls. not contravene license, won't work because system dlls compatible version of windows delivered with.
whatever problem is, hardcoding function entry points not solution.
Comments
Post a Comment