Solved

Windows 7 variable undefined error in Windows application

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
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…
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). …
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.

735 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