Re: eVC++ can't detect resolution
- From: TJ <someone@xxxxxxxxxxxxx>
- Date: Thu, 23 Mar 2006 11:03:42 -0600
From MSDN:
The HI_RES_AWARE resource item can be used to override this behavior for legacy applications. The operating system looks for this special resource item when the legacy application loads. The following procedure adds it to your program, using Microsoft eMbedded Visual C++®.
Note Alternatively, you can add the following line to your resource file directly:
HI_RES_AWARE CEUX {1} // To turn off the emulation layer
To add the HI_RES_AWARE resource item to your program
1. From the Insert menu, select Resource.
2. Click the Custom button.
3. Enter CEUX for the resource type.
4. Set the resource data to 01 00.
5. Click the Properties tab.
6. Rename the item to "HI_RES_AWARE", including quotes. (If the quotes are omitted, HI_RES_AWARE will be incorrectly defined as a numeric value in resource.h, and you will need to go back and delete the line from resource.h.)
7. Deselect the external file checkbox.
zikje wrote:
If I create a project with an eSVG viewer with VS2005 for smart device (MFC), the viewer can detect the 480*640 resolution of the iPAQ hx4700. When I do the same with eVC++ 4.0, the application only seems to deploy on 240*320 resolution. Can I also work on 480*640 with eVC4?.
- Prev by Date: Two programs, common form -- Solution?
- Next by Date: Re: SystemIdleTimerReset()
- Previous by thread: Two programs, common form -- Solution?
- Next by thread: Re: SystemIdleTimerReset()
- Index(es):
Relevant Pages
|