• 0

Something weird when you create registry in Vista X64 SP1?!


Question

  • 0

Umm, that's where 32-bit apps write to the registry. It has nothing to do with Vista or SP1 - that's how it works on all 64-bit versions of Windows.

A 64-bit application will write into the "regular" registry path. For your uses it shouldn't matter - Windows should launch applications in either "run" key.

5 answers to this question

Recommended Posts

  • 0

Thanks Brandon, I made several tests between VB.Net and Inno Setup in creating registry, both create it in the same location. I was afraid that Inno Setup creates the registry into the old location but it seems that Vista can handle it correctly.

But it still bit strange that the code is creating the registry in different location, what if I want to create it programmatically in the old location?

  • 0

First, you should probably read up on WOW64 registry redirection.

Second, remember that 32-bit apps very, very rarely need to access the 64-bit sections of the registry. x64 versions of Windows are designed to support 32-bit applications without modification, and that's why the registry redirection/reflection mechanisms exist. For the most part, you should just let it do its thing.

Now to answer your question, there are two options:

1) Write a 64-bit application. They always write directly to the registry without any WOW64 redirection.

2) Write a "WOW64-aware" 32-bit application by passing the appropriate flag to the registry APIs.

To achieve number 1: If you're writing a .NET 2.0 (or later) application that doesn't rely on integration with any 32-bit applications or components, then you can simply change the target machine type to "Both" or "Any" in Visual Studio, and the application will automatically be compiled as 64-bit code when running on a 64-bit machine.

  • 0

Many Thanks for your help :), I tried the 2nd options and it works. However as I said I haven't trouble with creating registry in the 64-bit path but it's good to know new stuff.

BTW, I use Framework 2.0 but I can't choose "both" because there is some problems arise with Microsoft Jet Engine 4.0 (used to connect to MSAccess DB) when I select X64 or both, it only works with X86.

  • 0
Many Thanks for your help :), I tried the 2nd options and it works. However as I said I haven't trouble with creating registry in the 64-bit path but it's good to know new stuff.

BTW, I use Framework 2.0 but I can't choose "both" because there is some problems arise with Microsoft Jet Engine 4.0 (used to connect to MSAccess DB) when I select X64 or both, it only works with X86.

That's because there is no Jet engine for x64...

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • eSound Music 3.0.0 by Razvan Serea eSound Music is a free music streaming app that gives you access to over 150 million tracks from all genres. It allows you to search and listen to your favorite songs, create personalized playlists, and explore trending music. With an intuitive interface and smart search, discovering new artists and hits is fast and easy. You can even stream music in the background while using other apps. One of eSound’s standout features is its offline mode, letting you download and listen without internet access. eSound is widely compatible, working seamlessly across Windows, macOS, Linux, iPhone, iPad, Android, HarmonyOS, Amazon Fire devices, CarPlay, Android Auto, and more. eSound Music key features: Over 150 million tracks available Smart search for songs, artists, albums, and playlists Personalized song recommendations Continuous playback with auto-generated playlists Offline mode with song and playlist downloads Daily-updated trending charts and top songs Sleep timer to auto-stop playback High-quality audio support Customizable playlists and favorites Support for Apple CarPlay and Android Auto Works on Windows, macOS, Linux, iOS, Android, HarmonyOS, Amazon Fire, and more Cross-device sync via account login Background playback while using other apps Download: eSound Music 64-bit | Portable | ~160.0 MB (Free, paid upgrade available) Download: ARM64 | 116.0 MB Links: eSound Music Website | Screenshot | Web Player | Other OSes Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • All these CEOs got the biggest boners thinking about firing employees for AI. Turned out it was just a wet dream.
    • And the fact that the majority of people from Poland are white European Christians while the people you are complaining about in post after post are not is just a coincidence... Every sentence in your post I am replying to is racist nonsense. None of it is actually based on any facts whatsoever. All immigrants are seeking a better life too. It's literally the only reason they would risk everything and leave their homes, families, and homeland. They are working and contributing to the economy too, as you even admit. They get the same benefits your partner did AND that YOU are eligible for as well. That is one of the key things of the EU and a mark of a civilization. That is the definition of a society where everyone is given a chance, treated equally and fairly, and is judged by the content of their character, not their different skin color or which version of ignorant superstitious nonsense their parents lied about as children. Racists around the world said the same things about the Irish and Jews and Poles (like your partner) and...every other immigrant movement over the centuries. What's your family's heritage, by the way? Were your ancestors lied about with racist fearmongering crapola by self-entitled locals the same way as you are now? If someone like that said the same things about all people from Poland, like your partner, would they be right? Or would you want them to judge your partner based on who they actually were, not where they just happened to come from?
    • Again, this is an irrelevant attempt to attack the messenger. The truth does not require any justification.
  • Recent Achievements

    • Conversation Starter
      jessse3334 earned a badge
      Conversation Starter
    • Reacting Well
      JuvenileDelinquent earned a badge
      Reacting Well
    • One Month Later
      Excellence2025 earned a badge
      One Month Later
    • Week One Done
      Excellence2025 earned a badge
      Week One Done
    • Week One Done
      flexorcist earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      +Edouard
      196
    3. 3
      PsYcHoKiLLa
      153
    4. 4
      Steven P.
      72
    5. 5
      FloatingFatMan
      65
  • Tell a friend

    Love Neowin? Tell a friend!