check client.platform == x86 and architecture == x64 
or
architecture contains WOW64

then bail - with a warning unable to execute in memory WOW64 Migrate to a x64 bit process first.