emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDI+ take 3


From: Juanma Barranquero
Subject: Re: GDI+ take 3
Date: Wed, 15 Apr 2020 16:12:01 +0200


On Wed, Apr 15, 2020 at 4:00 PM Eli Zaretskii <address@hidden> wrote:

> Could you perhaps step with a debugger through w32_select_active_frame
> and see if this call:
>
>    status = GdipImageGetFrameCount (pBitmap, &pDimensionIDs[0], &frameCount);
>
> returns a value of 'status' that is something other than 'Ok'?  It
> returns Win32Error here, for some reason.

Thread 1 hit Breakpoint 2, w32_select_active_frame (pBitmap=0xf522f0,
    frame=0, nframes=nframes@entry=0xbfcdbc, delay=delay@entry=0xbfcdc0)
    at w32image.c:235
235     {
(gdb) n
240       status = GdipImageGetFrameDimensionsCount (pBitmap, &count);
(gdb) n
241       frameCount = *nframes = 0;
(gdb) n
242       *delay = 0.0;
(gdb) n
243       if (count)
(gdb) n
245           status = GdipImageGetFrameDimensionsList (pBitmap, pDimensionIDs, 1);
(gdb) n
246           status = GdipImageGetFrameCount (pBitmap, &pDimensionIDs[0], &frameCount);
(gdb) n
247           if (status == Ok && frameCount > 1)
(gdb) p status
$2 = Ok
(gdb)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]