Solved

Windows 7 variable undefined error in Windows application

Posted on 2009-05-13
2
444 Views
Last Modified: 2012-06-21
I have a windows application that is calling some specific variables, I don't know if they are environment variables, or what exactly they are.  examples are clWhite, clRed (obviously colors), clWindow, etc.  They all appear to begin with cl.  

The application runs just fine in XP, Vista.  In Windows 7, when these variables are referenced the application returns a variable undefined error.

Are these variables somehow a part of the XP, VIsta, but not included in Windows 7?
0
Comment
Question by:misgroupee
2 Comments
 
LVL 15

Accepted Solution

by:
tenaj-207 earned 500 total points
ID: 24376148
Perhaps you should expand the zone to include programming, that would get more expert eyes on this.  I think this is VB.net.

However, this might be easiest to resolve by setting up XP mode in Win7.

The steps to install XP Mode (It's really just Virtual PC with XP wrapped up into a package) are as follows.

1) Check to make sure your CPU can support XP Mode (Virtual XP), and turn on virtualization support in the BIOS. http://www.microsoft.com/windows/virtual-pc/support/configure-bios.aspx
2) Choose the system type, and downloaded Virtual PC and Windows XP Mode beta.
http://www.microsoft.com/windows/virtual-pc/download.aspx
3) Install both of those programs and start playing with XP in Win7.

Now you have Windows XP running on Win7 and you didn't need any CD's or XP licensing keys. Very cool.
0
 

Author Comment

by:misgroupee
ID: 24376192
I will certainly try the XP mode, but ultimately that is a band aid solution, I would like to solve it without doing that.  I'll expand to programming and see what I get, thanks for the input.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question