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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -