winapi - Tool for determining version of Win32 APIs used by C++ code? -



winapi - Tool for determining version of Win32 APIs used by C++ code? -

i'm modifying big c++ project first release windows 7-only work on vista , xp.

the main work alter w7 api calls utilize getprocaddress @ runtime (to avoid static linking methods not available on other platforms), , i'm wondering if there tools can help identify calls need changed -- examining c++ code itself.

failing that, best seek building project against older windows sdk? -- example: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=6510

#define winver 0x501

now newer windows xp cause compilation error.

replace causes error until none remain.

if have sed-fu, can write filter straight finds #if winver > 0x501 blocks in windows headers, me, bit out of scope :-)

c++ winapi api version

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -