Solved

Windows 7 variable undefined error in Windows application

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now