locked
Windows Embedded Question RRS feed

  • Question

  • Hello, I am currently designing an operating system using Windows Embedded Standard. I am trying to implement some software created using Visual Studio 2008. The current operating system is stable, however if I try to implement the software, which uses MFC classes, everything is enlarged, text, text boxes, paint areas etc. I've tried rebuilding the operating system each time taking things out of the build and putting things back in, but I am not able to get Windows Embedded to use the MFC classes correctly. I tried re-installing the mfc42.dll and uninstalling the video drivers and reinstalling them, with no luck. I hope that this is a quick fix or maybe I'm just leaving something out of the build. Another twist is that the software works fine in XP and/or Vista. No problems with the enlarged text or viewing areas. Any and all help would be greatly appreciated. Thanks in advanced.
    Wednesday, July 29, 2009 9:36 PM

All replies

  • Hello RJS13,

    Thank you for the detailed querstion. It sounds like you are the OEM of the device, or at least you are building the Windows Embedded Standard runtime image. Therefore you should have access to the SLX and can add a few components. I would start by adding the "Fonts Application Compatibility" and "Codepage Application Compatibility" Macro components under Software -> Test & Development. Resolve Dependencies and rebuild the image. This will add the standard font set and all the codepage support components to your build.

    If that doesn't help, try downloading Sean Liming's "Full XP Pro Like Solution" here: http://www.seanliming.com/WES2009_XPe.html

    Import the components by following the documentation here: http://www.seanliming.com/Docs/Components/Full%20XP%20Pro_V2.pdf

    Build a configuration using the XP Pro templates and see if you can back track to what component(s) fix the display issue. This will at least help you to determine that it is possible to get the dialogs displayed properly in XPe if the right components are added.

    Hope that helps! Post back here if you have more questions, or post in the Windows Embedded Standard forum here: http://social.technet.microsoft.com/Forums/en-US/embeddedwindowscomponents/threads

    Thanks!
    Brad
    Brad Combs
    Thursday, July 30, 2009 3:39 PM
  • Thanks for the reply. I had downloaded the Full XP Pro prior to my builds. I have based all my OS on that and have no luck. I tried using the WES2009 for the base of my build as well, and still nothing is correct. I also noticed that all Windows  Installer windows are also enlarged. The text and the button text seem to be the only noticeable differences. I did try and also include the "Font Application Compatibility" and "Codepage Application Compatibility" to my previous builds and still no luck. Any other suggestions? Thanks!
    Friday, July 31, 2009 4:53 PM

  • You might be missing a font or code page. Do you have any custom fonts for the application?

    One thing to try is to remove the Codepage Application Compatibility and just try the Font Application Compatibility component.


    -Sean

    www.sjjmicro.com / www.seanliming.com, Book Author - XP Embedded Advanced, XPe Supplemental Toolkit, WEPOS / POS for .NET Step-by-Step
    Friday, July 31, 2009 11:16 PM
    Moderator
  • Hello RJS13,

    As Brad mentioned the forum dedicated to Windows Embedded Standard would probably be better suited to answer the specific question you have regarding the components you need to include in your custom runtime.

    http://social.msdn.microsoft.com/Forums/en-US/category/embeddedwindows/

    Terry Warwick - MSFT
    Wednesday, August 12, 2009 3:04 PM