(0x80040445) Unknown Windows graphics failure. Is your system low on memory or GDI resources?

This can arise from a lack of Windows graphics resources, as well as variety of low-level problems with PlateDIB objects. Double check your usage of the PlateDIB object, particularly the device context handle you pass to PlateDIB.PaintPicture().