• 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

    • Playground Games confirms Forza Horizon 6 save wipe bug by Taras Buria Forza Horizon 6 was launched last month to critical acclaim (check out our review here), and it became a smash hit in an instant. Now, weeks into the launch, with die-hard fans clocking hundreds of hours, Forza Horizon 6 is facing a serious issue: save wipes. After multiple complaints on Reddit and social media, the studio issued a statement. The problem with missing saves came shortly after Playground Games promised the initial batch of gameplay tweaks and improvements. Unfortunately, there seems to be no temporary fixes for those affected by unexpected save wipes. However, the studio published a new support document with a few important steps users should try. First, affected gamers should open a support ticket immediately (go here to file one) so that the support team can try recovering the lost progress by reverting to an earlier save. Playground Games says this should be done the same day the issue occurs. Meanwhile, gamers are urged not to start new play sessions or create new saves. The studio also published a few things gamers should try to avoid to prevent potential progress loss: Ensure your Gaming Services app on PC or XBOX Series X|S console is fully up to date. On XBOX Series X|S consoles, disable Quick Resume for Forza Horizon 6: To disable Forza Horizon 6 from using Quick Resume, highlight the game box art anywhere in the console experience (Home, My Games & Apps, Pins, etc) and then press the Menu button, then go to Manage game and add-ons > Quick Resume settings > Disable Quick Resume. Ensure you are online when ‘quitting’ the game. Give your saved time to sync to the cloud before powering off or switching devices. Do not force quit the game during save screens. Do not power off the device during gameplay. Always "Quit" (console) or "Exit to desktop" (PC) once you've finished your play session, ensuring the save icon is not visible when you’re closing the game. Before turning off your console, shutting down your PC, or force-closing the Steam app, give your devices or clients at least a few minutes to ensure your latest progress has been synchronized with the cloud. This will reduce the risk of progress reversions as you switch between different platforms. XBOX Series X|S consoles, Steam, and the XBOX app on PC all include game save indicators that confirm your progress has been synced. You can read more about the bug in the official support document here. Forza Horizon 6 is currently available on PC (Steam and the Microsoft Store), Xbox Series X|S, and Game Pass. The game is also coming to PlayStation 5 later this year.
    • If only Windows would have a toggle switch labeled "Get the latest updates as soon as possible" inside Windows Update settings... But nah, let's hide the new stuff inside a controlled feature rollout, even if the user is explicitly asking for the new stuff as soon as possible. Awesome idea!
    • After watching the Apple event earlier this week it is quite the contrast. Apple is going back and tweaking the code to make things more efficient in many areas of MacOS. Windows is boosting your electric build to hide their issues.
  • Recent Achievements

    • One Year In
      slackerzz earned a badge
      One Year In
    • One Year In
      highriskpaym earned a badge
      One Year In
    • One Month Later
      highriskpaym earned a badge
      One Month Later
    • Week One Done
      highriskpaym earned a badge
      Week One Done
    • Week One Done
      FBSPL earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      502
    2. 2
      PsYcHoKiLLa
      197
    3. 3
      +Edouard
      157
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      74
  • Tell a friend

    Love Neowin? Tell a friend!