Reputation
48,477
Next tag badge:
957/1000 score
271/200 answers
Badges
22 136 268
Impact
~8.2m people reached

Jun
27
comment Why does 64-bit Windows need a separate “Program Files (x86)” folder?
@SamuelEdwinWard, then you can call it "experimental". Even so, lets say you have both 32-bit and 64-bit versions of IE; what makes it mandatory to keep them in separate top-level folders?
Jun
27
comment Why does 64-bit Windows need a separate “Program Files (x86)” folder?
And how do %programfiles%, %programfiles(x86)%, or %programw6432% make a difference there? Any shared DLLs go into the single WinSxS directory, and any non-shared DLLs are right there with the executable. This would only matter if for some reason you have both 32-bit and 64-bit versions of the same program installed, and even then, you would keep the 32-bit DLLs with the 32-bit executable and the 64-bit DLL with the 64-bit executable. You can do this like so: %programfiles%\CoolApp\bin\32 and %programfiles%\CoolApp\bin\64`, why the separate top-level folders?
Jun
27
answered Detect Windows Server version 32/64-bit in CLI
Jun
27
comment Detect Windows Server version 32/64-bit in CLI
> How comes this had 0 votes? Maybe because it is not reliable.
Jun
27
comment Why does 64-bit Windows need a separate “Program Files (x86)” folder?
@Diogo, actually, I'm pretty sure I read something a couple of days ago about programs being provided with different operating environments depending on their location, so it's not just a design or philosophical choice, it's an actual architectural one. I'm trying to find the pages now.
Jun
27
comment Why does 64-bit Windows need a separate “Program Files (x86)” folder?
@OliverSalzburg, No quite. The question is why two folders are required, not why there are. In fact, he even bolded it: why is this even necessary? You did not explain why it is necessary and the example I gave (and even your own sarcastic example) just show that it does not have to be done the way it is.
Jun
27
comment Why does 64-bit Windows need a separate “Program Files (x86)” folder?
I don't follow your example; it makes no sense. I gave a perfectly good example of how it could be done. Grab a copy of FreePascal and look at how they structure the directories to support both DOS and Windows versions in the same folder. Also, in regards to But that would require you to manually make the decision. If the user is a novice, then they are using an installer which does the logic work. Besides, this is assuming they have any reason to install both versions in the first place. Only devs and testers (i.e., advanced users) would/should be using both.
Jun
27
comment Why does 64-bit Windows need a separate “Program Files (x86)” folder?
If the user is a novice, then I highly doubt they would be running both versions. In fact, even advanced users will rarely ever run both 32-bit and 64-bit versions of a program. If there is a 64-bit version available and the system is 64-bit, then (sane) people are expected to use the 64-bit version; there is no reasonable excuse to install or run the 32-bit version unless you are a developer and doing testing. Of course if the 64-bit version is experimental, then one would expect non-devs/testers to use only the 32-bit version and uninstall it when the 64-bit version is ready.
Jun
27
comment Why doesn't Windows 7 Ultimate (64-bit) contain folder system64 like system32 in xp?
Um, they didn't exactly worry about backwards compatibility when they created the system32 folder. Yes, the older system folder still exists for any old programs that relied on it, but they created the new one anyway. I don't see why they could not do the same here: leave the system32 folder for any old programs that use it, and have the new stuff go in system64.
Jun
27
comment Why does 64-bit Windows need a separate “Program Files (x86)” folder?
Who makes that decision? The program's installer would allow you to install one or the other or both and would install them as necessary; e.g., %programfiles%\CoolApp\bin\32, %programfiles%\CoolApp\bin\64, %programfiles\CoolApp\html`, etc. This is how it was when installing both DOS and Windows versions of programs like FreePascal; so I don't see why it would have to be any different for 32-/64-bit.
Jun
27
comment Why does 64-bit Windows need a separate “Program Files (x86)” folder?
That doesn't explain it. Who exactly is using the environment variable and why would it care whether a program is 32-bit or 64-bit?
Jun
27
comment Why does 64-bit Windows need a separate “Program Files (x86)” folder?
I learned the reason for this recently when I answered a question about determining the architecture from the command-prompt. I'll see if I can find the relevant links...
Jun
27
comment Why does 64-bit Windows need a separate “Program Files (x86)” folder?
But why does it have to put it in different folders? Windows is already fully capable of determining the architecture of an executable by looking at the PE header. Why can it not load the appropriate environment when it loads the executable?
Jun
27
comment How to use dedicated video card instead of onboard?
DMA57361 is correct. There is no standard for BIOS settings, even within the same mfg, and there are at least half-a-dozen ways to do this, so you really do have to check the manual for your own motherboard.
Jun
27
comment How to use dedicated video card instead of onboard?
Interesting. That it shows up in Windows means that the dedicated card is already enabled, but is being used as a secondary (try right-clicking the desktop and selecting Screen resolution; it should show both adapters, though you may first have to plug a monitor into both).
Jun
27
comment How to use dedicated video card instead of onboard?
That's a good point. Many more modern video-adapters and motherboards will be able to detect when a monitor is plugged in or not and switch automatically. +1 for the easy trick.
Jun
27
revised Extremely Slow XP Pre-Boot (Driver Loading Phase)
Was missing a parenthesis.
Jun
27
revised Can a full pagefile slow down my PC?
Added explanation of the actual problem.
Jun
27
revised What happens when a 32 bit program (running on an 64 bit machine) hits the memory limit?
added 974 characters in body
Jun
27
answered What happens when a 32 bit program (running on an 64 bit machine) hits the memory limit?