Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

(this is not a duplicatted thread from Is it OK to install 32 bit programs in "Program Files" on 64 bit windows instead of "Program Files (x86)? im considering that im doing a question looking for another answear)

So, i need to recompile my code to x64 plataform or, if i change the app path Windows will work on it with 64 bits?

share|improve this question
add comment

2 Answers

up vote 10 down vote accepted

No, a 64bit executable is a 64bit executable is a 64bit executable. The two separate directories exist to make it easier to maintain a 32 bit and 64 bit copy of an application, as far as I can tell.

You will need to recompile your things for 64bit, as the location of an executable makes no difference to how it is executed.

share|improve this answer
add comment

As you need to recompile a 32 to 64 windows driver you will need to do the same for a application, all variables from your code will need to readapt to the new 64 reality.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.