B
bonk
Within an MFC application that also has some WPF content embedded into
the UI (via HWndSource) I have a pointer to a CDC wich contains some
custom GDI drawing. So basically it is a piece of memeory with a bitmap.
How can I get this to be displayed in WPF (within the HWndSource) ? I
guess it all boils down to how I could convert to that "unmanaged"
bitmap memory to something WPF (.NET) understands without having to
actually create a Bitmap File on Disk from that CDC.
Any workaround is welcome
the UI (via HWndSource) I have a pointer to a CDC wich contains some
custom GDI drawing. So basically it is a piece of memeory with a bitmap.
How can I get this to be displayed in WPF (within the HWndSource) ? I
guess it all boils down to how I could convert to that "unmanaged"
bitmap memory to something WPF (.NET) understands without having to
actually create a Bitmap File on Disk from that CDC.
Any workaround is welcome