Advertisement

10.12.2008 at 10:02PM PDT, ID: 23808575 | Points: 500
[x]
Attachment Details

why would an EXE built under VS2003 have one DC when running in the IDE or in the Release folder but another in an external folder?

Asked by beerwulf in Microsoft Development, Windows MFC Programming, Microsoft Programming

Tags:

I have an application I'm building under VS2003.  It uses several custom-drawn lists and loads multiple icons from ICO files for use in those lists.  When I run the app under VS2003 or in the Release folder I get the icons and the graphics measurements I want, but when I copy the EXE to the staging folder for the release build itself and run it I get some of the icons appearing missing (even though they're there), some of them are drawn as if the GDI is stretching them, and the measurement of the lists (which is scaled by the LOGPIXELSY device cap) is much narrower.  It almost seems as if VS2K3 is giving me one DC and the app running standalone is giving me another.Start Free Trial
[+][-]10.13.2008 at 03:50PM PDT, ID: 22707314

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.22.2008 at 07:19AM PDT, ID: 22776852

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43 - Hierarchy / EE_QW_2_20070628