The version of CRM 4.0 should match the OS - so if you are running a 32 bit OS CRM 4.0 should be 32 bit and a bit OS would require the 64 bit version of CRM.
http://technet.microsoft.com/en-us/library/dd979189
Jason Lattimer