A missing font made my application crash
-
Not at all. You should exception wrap calls like this.
-
There are a class of exceptions that can't be caught in managed code. This was likely one of those.
Such as? You can handle exceptions with C code in the kernel, are you telling me you cant handle this one? In any way.
-
What is the code, .Net? Why run .Net code on embedded anyway, its a minimal install, minimal foot print OS, use C or C++ and catch them the normal way.
-
So I had a strange issue yesterday with a WPF app running on Windows 7 Embedded. It would hard crash when the user clicks inside a password box. After some debugging and searching for solutions it turns out that Embedded didn't have the Arial font installed and the password box needs it to display the *** . I installed the font and all is well. What a weird issue!
-
Such as? You can handle exceptions with C code in the kernel, are you telling me you cant handle this one? In any way.
-
Sure you can handle those in a C app. But this discussion is regarding a WPF app. And unless you want to re-implement the entire WPF library in C, you have little choice but to use managed code.
Yeah, I know jack about managed code, never use it. Shame it doesnt handle this kind of exception though, seems like its an oversight.