Hi, Fix iupwin_dragdrop.c: --- \dll\iup\a\src\win\iupwin_dragdrop.c Wed Apr 24 17:12:36 2019 +++ iupwin_dragdrop.c Sat May 25 09:34:29 2019 @@ -391,7 +391,7 @@ { IFns cbDragDataSize; IFnsVi cbDragData; - int size; + int size = 0; void *pData; TCHAR type[256]; @@ -405,7 +405,8 @@ winGetClipboardFormatName(pFormatEtc->cfFormat, type, 256); cbDragDataSize = (IFns)IupGetCallback(pThis->ih, "DRAGDATASIZE_CB"); - size = cbDragDataSize(pThis->ih, iupwinStrFromSystem(type)); + if (cbDragDataSize) + size = cbDragDataSize(pThis->ih, iupwinStrFromSystem(type)); if (size <= 0) return STG_E_MEDIUMFULL; Best regards, Ranier Vilela
iupwin_dragdrop.c.patch
Description: iupwin_dragdrop.c.patch
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users