c++ - Using IsWow64Process instead of compiling separately -


was wondering if usage of function 'iswow64process' better compiling separately 64 bit os. still need change offsets of addresses program stay same.

iswow64process() makes sense 32-bit processes because says whether said process being run on 64-bit system. process still 32-bit consequences, example, can load 32-bit dlls , can use 2 gigabytes of memory.

note in many cases making code 64 bit not worth it, when need ship 32-bit code , while versions of windows allow running 32-bit code. see this answer more details.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -