• 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

    • Zen Browser 1.21.4b by Razvan Serea Zen Browser is a privacy-focused, open-source web browser built on Mozilla Firefox, offering users a secure and customizable browsing experience. It emphasizes privacy by blocking trackers, ads, and ensuring your data isn't collected. With Zen Mods, users can enhance their browser experience with various customization options, including features like split views and vertical tabs. The browser is designed for efficiency, providing fast browsing speeds and a lightweight interface. Zen Browser prioritizes user control over the browsing experience, offering a minimal yet powerful alternative to traditional web browsers while keeping your online activity private. Zen Browser’s DRM limitation Zen Browser currently lacks support for DRM-protected content, meaning streaming services like Netflix and HBO Max are inaccessible. This is due to the absence of a Widevine license, which requires significant costs and is financially unfeasible for the developer. Additionally, applying for this license would require Zen to be part of a larger company, similar to Mozilla or Brave. Therefore, DRM-protected media won't be supported in Zen Browser for the foreseeable future. Zen Browser offers features that improve user experience, privacy, and customization: Privacy-Focused: Blocks trackers and minimizes data collection. Automatic Updates: Keeps the browser updated with security patches. Zen Mods: Customizable themes and layouts. Workspaces: Organize tabs into different workspaces. Compact Mode: Maximizes screen space by minimizing UI elements. Zen Glance: Quick website previews. Split Views: View multiple tabs in the same window. Sidebar: Access bookmarks and tools quickly. Vertical Tabs: Manage tabs vertically. Container Tabs: Separate browsing sessions. Fast Profile Switcher: Switch between profiles easily. Tab Folders: Organize tabs into folders. Customizable UI: Personalize browser interface. Security Features: Inherits Firefox’s robust security. Fast Performance: Lightweight and optimized for speed. Zen Mods Customization: Deep customization with mods. Quick Access: Easy access to favorite websites. Open Source: Built on Mozilla Firefox with community collaboration. Community-Driven: Active development and feedback from users. GitHub Repository: Contribute and review the source code. Zen Browser 1.21.4b changelog: New Features Updated to Firefox 152.0.2 and 152.0.3 Added 'Edit pinned tab' context menu item to manually set a pinned tab's URL Added 'Add Route for Domain' context menu item to quickly add a tab's domain to the Space Routing settings Fixes Prevent sidebar from flickering when moving a tab (#14131) Full-screening while on a glance tab will now expand the glance tab to a normal tab (#11766) Fixed space routing tabs opening in background when it should be in foreground (#14183) Other minor bug fixes and improvements. Download: Zen Browser | 90.2 MB (Open Source) Download: Zen Browser ARM64 | Other Operating Systems View: Zen Browser Home Page | Screenshots 1 | 2 | Reddit Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I was using searxng for about a year , self hosted, but results were starting to timeout and eventually it became unusable so I switched to degoog. Much better for my needs, more polished and add-ons like maps and calculations etc
    • Fake Superman doing the Anti-Trump PR for us, good man !
    • Hello, I am not as familiar with AMD CPUs as I am with Intel's, but as I understand it, that's a mid-range CPU from about three years ago.  I would think it to be fine for everyday casual-type use.  A larger SSD might be better, but with storage prices these days that's a decision that has to be carefully thought about. Regards, Aryeh Goretsky  
  • Recent Achievements

    • 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
    • One Month Later
      Woland13 earned a badge
      One Month Later
    • Week One Done
      Woland13 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      504
    2. 2
      +Edouard
      205
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      Steven P.
      72
    5. 5
      FloatingFatMan
      68
  • Tell a friend

    Love Neowin? Tell a friend!