• 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

    • This is weird. Mythos is more unrestricted compared to Fable. Technically it poses more risk!!
    • This is a great thing, I always have issues with Verizon while inside of certain football stadiums due to the saturation and walls blocking signal so a LOS way to connect would be great. Verizon was supposed to be offering sat data this year but I've not heard a word of it lately. Dude is sending rockets into space in a cheap manner, low waste foot print and has a great product with solar/battery tech. We would be so far behind China right now if not for him and a push to get back into space.
    • illegally? Proof of that? Seems you are posting misinformation or well a pure straight up lie cause there is zero proof of such a thing. But I get it...
    • KillerPDF 1.6.0 by Razvan Serea KillerPDF is a lightweight, portable PDF editor for Windows built for users who want full control without subscriptions, installers, or telemetry. It runs as a single executable, making it ideal for USB use and field work. You can view PDFs with smooth PDFium rendering, navigate quickly with thumbnails, zoom, and shortcuts, and reorganize pages using drag-and-drop. It supports merging multiple PDFs, splitting documents, and extracting selected pages. KillerPDF also allows inline text editing with font matching to preserve the original layout, plus annotations like text boxes, freehand drawing, highlights, and reusable signatures. You can search full text, copy content easily, and print documents with flattened annotations. Designed as a free and open alternative to bloated PDF tools, it works fully offline on Windows 10/11 x64. No runtimes install. Everything needed is inside the EXE (targets .NET Framework 4.8, which ships with every supported Windows release). KillerPDF key features: High-quality PDF rendering via PDFium Edit PDF text inline (double-click to modify text) Page thumbnails and fast navigation with zoom and shortcuts Merge multiple PDFs into one Split PDFs and extract selected pages Drag-and-drop page reordering Font matching to preserve original document appearance Text boxes for notes Freehand drawing tools Highlight overlays with adjustable color, size, opacity Undo actions and clear per-page annotations Create, draw, and save reusable signatures Click-to-place signatures anywhere Full-text search with highlighted results Drag-select or Ctrl+A to copy text Print with annotations flattened Portable single-file app (~15 MB) No installer, no admin rights required No account, no telemetry KillerPDF 1.6.0 changelog: A big release: major new features, a full visual refresh, and an internal rewrite. New Tabbed documents - open several PDFs at once, each restoring its page, zoom, and view OCR built into the exe (Tesseract) - OCR a page or dragged region to the clipboard, make a scan searchable, or extract all text; extra languages download on demand Digital signatures with a cloud certificate (Certum SimplySign), reusable signatures, and click-to-sign form fields Transform tool - rotate, scale, flip, and straighten a crooked scan, with live preview Edit existing text by double-clicking a line (the original is cleanly covered) Line tool, refreshed draw/highlight bars, resizable word-wrapping text boxes, and a full RGB color picker with eyedropper Print options (scale, position, margins, two-sided), page-number stamping, folder/.zip import, Document Info (F12), and recent files with file-type icons Translations: Bengali, Turkish, Simplified Chinese, German, French. Changed New logo, icons, fonts, and colors throughout Six themes with per-theme accent colors; sidebar docks left or right; toolbar style picker Internal rewrite: the ~15,000-line main window split into ~40 focused files (no behavior change) Fixed True 300 DPI printing, encrypted/damaged PDFs open on a background thread with a repair fallback, form fields render in every view mode, and undo is one item per press Download: KillerPDF 1.6.0 | 14.6 MB (Open Source) Link: KillerPDF Home Page | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • 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
    • One Year In
      bernmeister earned a badge
      One Year In
    • Week One Done
      Scoobystu earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      498
    2. 2
      +Edouard
      221
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      Steven P.
      75
    5. 5
      FloatingFatMan
      69
  • Tell a friend

    Love Neowin? Tell a friend!