Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8333881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:10:06+00:00 2026-06-09T03:10:06+00:00

Specifics: VC++ 7; Program works on XP, but crashes on Win7; developed using VS2003.NET

  • 0

Specifics:
VC++ 7; Program works on XP, but crashes on Win7; developed using VS2003.NET (old I know but it’s what I have to work with and it works fine thank you very much)

I’ve got a program that runs great on XP (32-bit). However, I’ve recently tested it with Win7 and all kinds of choas breaks loose. My strong suspicion is how my program deals with registry keys.

NOTE: The program does not create or destroy keys, only queries for keys and returns interesting values. (“Interesting” described below)

In the simplest form, the program reads data from a SCSI attached device, and saves the data to a file on the host PC. The program queries the registry for SCSI adapters and returns the adapter IDs which the program uses to access the device.

To me, it doesn’t look like the registry structure has changed from XP to Win7 but not 100% sure. Any insight on that would be great 🙂

Also, I read at: http://www.techsupportalert.com/content/how-windows7-vista64-support-32bit-applications.htm that the way Win7 does things is like a reflection. Does this change how I should query for the key? If so, any information on how to structure the query would be great.

I think what I need to know is:

  • Is it as simple as changing the hKey (or lpValueName) in the RegQueryValueEx method?
  • Or does this mean I need to change some other aspect of the RegQueryValueEx method?
  • Or something else entirely?

Thank you in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T03:10:07+00:00Added an answer on June 9, 2026 at 3:10 am

    It’s worth running your application through the Application Verifier on your own machine first. Of particular interest is the LuaPriv section which will highlight instances where your application is doing operations that don’t play well in Vista or Win-7. This should catch any time where you might be consulting registry locations that differ from in XP.

    One thing to be aware of is that if you are reading registry entries created by another application then it’s possible that they might be in a different place, eg in the 32-bit or 64-bit views, or virtualised to the per-user location (this will typically happen if a process ran thinking it could write anywhere, but didn’t have admin privileges, so Windows will sandbox the registry writes into the virtualised area).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app that I wrote using C# .NET 4.0 in Visual Studio
I have a written a program in Python 3 and are using Sphinx to
I'm trying to make a small game using (free)GLUT. I know that it's old
This is my encryption/decryption code. It works well but crashes when it encrypts a
I have quite massive program (>10k lines of C++ code). It works perfectly in
I have a program that needs to be developed. For confidentiality, I will use
I've written a C# program using the Google Docs .NET API to read a
I would like to describe some specifics of my program and get feedback on
I almost done my coding for a specific program i have. I just need
I have a Java socket server program listening on a specific port. When receiving

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.