Solved

Windows 7 variable undefined error in Windows application

Posted on 2009-05-13
2
445 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

So many times I have seen the words written in a question "if only I could show you" or " I know how hard it is for you since you can't see it" in any zone. That has inspired me to write about this tool in windows 7 called "Problem Steps Recorder…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

856 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