Check for the existence of the driver CreateDIBSection before calling
it.

diff --git a/objects/dib.c b/objects/dib.c
index 7f3127f..604eb54 100644
--- a/objects/dib.c
+++ b/objects/dib.c
@@ -902,7 +902,8 @@
 
     if ((dc = DC_GetDCPtr( hdc )))
     {
-        hbitmap = dc->funcs->pCreateDIBSection(dc->physDev, bmi, usage, bits, section, offset, ovr_pitch);
+        if(dc->funcs->pCreateDIBSection)
+            hbitmap = dc->funcs->pCreateDIBSection(dc->physDev, bmi, usage, bits, section, offset, ovr_pitch);
         GDI_ReleaseObj(hdc);
     }