Solved

Windows 7 variable undefined error in Windows application

Posted on 2009-05-13
2
448 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
Suggested Courses

632 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