I am working on a C# application for a Windows Standard Embedded 7 platform. I have managed to create a Windows image (using Image Configuration Editor) and installed the .NET 4.5 runtime, as well as the application software. All good so far.
When I run the program, all looks well - the hardware initializes correctly and the software loads its data. However, when I go to the program's "login" dialog (an otherwise ordinary WPF dialog window that gives access to extended functionality), something odd happens. The dialog has a PasswordBox in it, and when I click (or tab focus) to that box, the software crashes with a system message box saying "Unknown Hard Error". There's no real clue as to why this happens, and it is 100% repeatable. Any ideas? Any ideas on how to diagnose the problem?
This turns out to be a problem with fonts (!). You need to include TrueType fonts in the Image Configuration Editor when building an IBW image for Windows Standard Embedded 7, it will NOT get picked up as a dependency in the .NET 4.x template.