PDA

View Full Version : How to determine 32-bit or 64-bit?



Nocturnal
03-30-2009, 06:53 PM
I have a program that I created with AMS7.5 that installs several programs.

The thing is, it also has to run these executibles that it installed afterwards.

So that means it looks in the Program File directory but with Windows Vista 64-bit there is a completely different Program File directory. The actual directory is Program Files (x86).

I tried to create a global variable of the programs directory but this does not work.

Any other ideas?

Ulrich
03-30-2009, 08:17 PM
Look up in the help file: System.Is64BitOS().

Ulrich