From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: GDI+ take 3 Date: Wed, 15 Apr 2020 17:00:30 +0300 Message-ID: <83a73chmrl.fsf@gnu.org> References: <86h7xzc5ai.fsf@csic.es> <83d08mt7gy.fsf@gnu.org> <83eesrkivc.fsf@gnu.org> <865ze3wvk8.fsf@csic.es> <837dyihyjc.fsf@gnu.org> <877dyh28ci.fsf@tcd.ie> <83o8rthnvr.fsf@gnu.org> <87zhbdwx1c.fsf@tcd.ie> <83mu7dgtls.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="93432"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juanjose.garciaripoll@gmail.com, emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 15 16:01:27 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jOibW-000O9c-R3 for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Apr 2020 16:01:26 +0200 Original-Received: from localhost ([::1]:50524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOibV-0007jm-TF for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Apr 2020 10:01:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41656) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOib0-0007CP-8n for emacs-devel@gnu.org; Wed, 15 Apr 2020 10:00:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jOiaz-00015h-Ur; Wed, 15 Apr 2020 10:00:53 -0400 Original-Received: from [176.228.60.248] (port=3167 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jOiat-0003Wu-Qa; Wed, 15 Apr 2020 10:00:51 -0400 In-Reply-To: (message from Juanma Barranquero on Wed, 15 Apr 2020 15:40:49 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:247001 Archived-At: > From: Juanma Barranquero > Date: Wed, 15 Apr 2020 15:40:49 +0200 > Cc: "Basil L. Contovounesios" , juanjose.garciaripoll@gmail.com, > Emacs developers > > Builds and runs ok here. (MSYS2 build, Windows 10.) Thanks for testing. 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. If it does return Win32Error for you as well, what does this show if you type it in GDB immediately after the call: (gdb) p w32_last_error () Here it shows zero, which is... not helpful :-( > BTW, NEWS says > > This support is enabled > with --with-native-image-api, which automatically disables the use of > optional third party libraries for those formats. > > but I think it is enabled by default if supported on the build environment, isn't it? Right, and "./configure --help" also had it backwards. Fixed, thanks.