Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Registries in Windows 10 Pro

Registries in Windows 10 Pro

Scheduled Pinned Locked Moved C#
csharpvisual-studiosysadminwindows-adminhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    picasso2
    wrote on last edited by
    #1

    I have a basic WindowsForm C# application that loops thru a key (Dependencies) and list all values of all subkeys found. It is compiled to use Any CPU (unselecting "Prefer 32-bit" option as well ) registry hive looks like this: Dependencies -{{050d4fc8-5d48-4b8f-8972-47c82c46020f} ..... ..... -{030d4fc8-5d48-4b8f-8342-47c82c46020f} ... ... -Microsoft.VS.VC_RuntimeAdditionalVSU_x86,v11 -Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v12 .... .... When I run the application in server 2012 or higher, the application reads all values found in each subkey (works great) but when I ran it in Windows 10 Pro, only the subkeys that start with Microsoft.VS.VC_..etc are read. Any ideas how to fix it?

    L 1 Reply Last reply
    0
    • P picasso2

      I have a basic WindowsForm C# application that loops thru a key (Dependencies) and list all values of all subkeys found. It is compiled to use Any CPU (unselecting "Prefer 32-bit" option as well ) registry hive looks like this: Dependencies -{{050d4fc8-5d48-4b8f-8972-47c82c46020f} ..... ..... -{030d4fc8-5d48-4b8f-8342-47c82c46020f} ... ... -Microsoft.VS.VC_RuntimeAdditionalVSU_x86,v11 -Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v12 .... .... When I run the application in server 2012 or higher, the application reads all values found in each subkey (works great) but when I ran it in Windows 10 Pro, only the subkeys that start with Microsoft.VS.VC_..etc are read. Any ideas how to fix it?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      picasso2 wrote:

      Any ideas how to fix it?

      Without seeing some code it is impossible. You need to use regedit to look at the entries and see if there are any differences between the two systems. Then use your debugger to track the code and see exactly where the problem occurs. See also 32-bit and 64-bit Application Data in the Registry (Windows)[^].

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups