WPF application shows “Image format is unrecognized ”

后端 未结 5 1139
别跟我提以往
别跟我提以往 2020-12-17 18:56

I have a WPF application which runs fine on Windows 7 OS. But the same app crashes on a particular few Windows XP machines.

It runs fine on few windows XP machine.

5条回答
  •  醉酒成梦
    2020-12-17 19:31

    I've had a bit of fun with this problem this morning. It turned out that the error was occurring only on XP machines where the colour settings were set to 16 bit, and when I changed it to 32-bit the problem magically disappeared.

    This goes for XP (including Embedded) SP3.

提交回复
热议问题