Fixed and committed to the SVN. Thanks for reporting!
That DeleteDC was the only case in CD and IUP were we called the wrong
matching function (whew!). And it is called only in a rare situation,
regularly the DC should not be deleted at all, see iupdrvDrawCreateCanvas
in the same file.
Best,
Scuri
2018-06-03 17:46 GMT-03:00 Ranier VF <ranier_...@hotmail.com>:
> Hi Scuri,
>
> Great news, thank you for the new release IUP 3.25.
> Most GDI USAGE ERRORS, is gone, remain 2 only.
>
> Error #6: GDI USAGE ERROR: free mismatch for DC 0x9d01119f: use ReleaseDC
> only for GetDC and DeleteDC only for CreateDC
> Error #7: GDI USAGE ERROR: free mismatch for DC 0x44010fcd: use ReleaseDC
> only for GetDC and DeleteDC only for CreateDC
>
> I believe iup.dll!iupdrvDrawKillCanvas, is responsible.
>
> Anyway, many thanks for the hard work.
>
> Regards,
> Ranier Vilela
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users