Googles appar
Huvudmeny

Post a Comment On: cbloom rants

"06-02-10 - 64 bit transition"

2 Comments -

1 – 2 of 2
Blogger ryg said...

"I understand their way makes most 32 bit apps work out of the box which is what most people want, so that all makes sense and is fine, but it is nasty that my perfectly good 32 bit apps don't actually get to see the true state of the machine for no good reason."
MS will do quite a lot to keep old, broken apps working. One interesting thing to step through is the PE loader (Debuggers usually fast-forward to main() on process load, but you can debug a process from the moment the process handle is created if you want to). There's several different versions of the loader, one for the general case and then some for progressively more broken .EXEs, down to an extra loader for EXEs with old (?) versions of SecuROM copy protection.

You can turn the file system and registry redirection off in Apps that are WoW64-aware (Wow64DisableWow64FsRedirection, RegDisableReflectionKey), but that's still a rebuild.

June 3, 2010 at 9:58 AM

Blogger cbloom said...

Yeah it makes total sense, but Wow64DisableWow64FsRedirection could have been a bit in the EXE so I can just toggle it off on apps that I know don't need it.

I also think the system32 redirection didn't really need to occur at the CreateFile() level, it could have been at the LoadLibrary() level, which would make all the DLL loads work, but not give me false dir listings.

June 4, 2010 at 11:48 AM

You can use some HTML tags, such as <b>, <i>, <a>

This blog does not allow anonymous comments.

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.