|
-
Oct 28th, 2009, 12:40 PM
#1
Thread Starter
PowerPoster
[RESOLVED] Path to program files not always the same
I have noticed that sometimes the path my app installed to program files looks different on some Vista machines: a (x86) is added to the path eg:
C:\Program Files\MyApp
C:\Program Files (x86)\MyApp
This has not caused a problem, but I am sure curious.
First i thought it was Vista with SP 2 only, but have since discovered it happens with SP1 and no service packs. Anybody have a reason for this?
Waiting for a full featured smart phone with out marrying a provider
Go Android
Go raiders 
-
Oct 28th, 2009, 12:49 PM
#2
Re: Path to program files not always the same
32 and 64bit are two different platforms, and the 32bit programs run in a 64bit environment have to be treated differently, hence the two folders.
There are 2 program files folders, one is for the 32 bits programs (x86) and the other (program files) is for the native 64 bits... and hence depending upon the above your app is installed....
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Oct 28th, 2009, 12:52 PM
#3
Re: Path to program files not always the same
This is where 32-bit applications normally get installed in a 64-bit system.
In addition to the forms of file and registry virtualization people are getting used to in Vista and later, there is also WOW64 virtualization in 64-bit Windows editions. Normally a 32-bit application gets redirected to these locations automagically, without any special programming.
There are even two versions of regsvr32 in a 64-bit system, one that is 32-bit code and registers 32-bit COM, another for 64-bit.
-
Oct 28th, 2009, 12:59 PM
#4
Thread Starter
PowerPoster
Re: Path to program files not always the same
 Originally Posted by koolsid
32 and 64bit are two different platforms, and the 32bit programs run in a 64bit environment have to be treated differently, hence the two folders.
There are 2 program files folders, one is for the 32 bits programs (x86) and the other (program files) is for the native 64 bits... and hence depending upon the above your app is installed....
Good explanation thanks, now i know
Waiting for a full featured smart phone with out marrying a provider
Go Android
Go raiders 
-
Oct 28th, 2009, 01:51 PM
#5
Re: [RESOLVED] Path to program files not always the same
Remember, there is more to it than that. For example things have changed with System32 as well. This covers a little of it: Running 32-bit Applications.
-
Oct 28th, 2009, 02:14 PM
#6
Thread Starter
PowerPoster
Re: [RESOLVED] Path to program files not always the same
 Originally Posted by dilettante
Remember, there is more to it than that. For example things have changed with System32 as well. This covers a little of it: Running 32-bit Applications.
Thanks for the info, reading was not clear, does this mean my vb6 app cannot
use all the windows d'lls if OS is running under 64 ? I have a ton of api calls throughout my app.
Waiting for a full featured smart phone with out marrying a provider
Go Android
Go raiders 
-
Oct 28th, 2009, 02:16 PM
#7
Re: [RESOLVED] Path to program files not always the same
I think in most cases you'll be just fine. Where required API calls will either be redirected to a corresponding 32-bit DLL or intercepted by WOW64 itself and thunked into the 64-bit subsystem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|