Reusing Image on Ribbon Causes Crash on XP-Collection of common programming errors
I am using a WPF ribbon and I have just run into some strange behavior. I have a contextual tab which I duplicate some of the functionality from the Home tab so that my users don’t have to click back and forth.
The problem I have seen is that if I reuse an image, my application crashes on start up if running on Windows XP. There is no issue on Windows 7. Any ideas?
Code:
.... Other Code...
.... If I uncomment this next part it crashes on XP....
If I take out the LargeImageSource/SmallImageSource part it works fine.