I have an IntPtr marshaled at an unmanaged / managed border that matches the Handle icon. Converting it to an icon is trivial with the FromHandle () method, and this has been satisfactory until recently.
Basically, I now have quite a few oddities when the MTA / STA tandem that I played to support WinForm in violation of the main (WPF-tastic) application interface is too fragile to stick to. So, WinForm should go.
So, how can I get the IconSource version of the icon?
Notice I tried ImageSourceConverter to no avail.
As an aside, I can get a basic resource for some, but not all, icons, and they generally exist outside of my application assembly (in fact, they often exist in unmanaged dll's).
c # windows winforms wpf
Kevin Montrose Jul 14 '09 at 20:03 2009-07-14 20:03
source share