From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Problem with library images on Windows (again) Date: Fri, 3 Jun 2005 14:08:07 +0200 Message-ID: References: <01c55d4a$Blat.v2.4$8e2e76e0@zahav.net.il> <428E065E.6040307@gnu.org> <01c55d54$Blat.v2.4$04c543c0@zahav.net.il> Reply-To: Juanma Barranquero NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1117801683 4488 80.91.229.2 (3 Jun 2005 12:28:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Jun 2005 12:28:03 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 03 14:28:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DeBHK-0008Eg-5F for ged-emacs-devel@m.gmane.org; Fri, 03 Jun 2005 14:27:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DeBN1-0007Fe-0l for ged-emacs-devel@m.gmane.org; Fri, 03 Jun 2005 08:33:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DeBKf-0006Bm-Pp for emacs-devel@gnu.org; Fri, 03 Jun 2005 08:31:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DeBKd-0006Ae-Ua for emacs-devel@gnu.org; Fri, 03 Jun 2005 08:31:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DeBKd-0005ik-Ix for emacs-devel@gnu.org; Fri, 03 Jun 2005 08:31:23 -0400 Original-Received: from [64.233.184.198] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DeB0Y-00034j-Ar for emacs-devel@gnu.org; Fri, 03 Jun 2005 08:10:38 -0400 Original-Received: by wproxy.gmail.com with SMTP id 50so1530598wri for ; Fri, 03 Jun 2005 05:08:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Vps0N9HTx9G4cJhgTWPuWwOBS0RIL4wzEzxd3fj32b9xGXpG3j2iVA4q8kEeElFvudzRKz8oC/DBjal19CopEH45yh6Wulyou1Qfl8qDDHN8Wb3L4bw+BwqoMnMPzca8b0bJDVRiIKp7MKEfZ8nlwxtfEdYN4CQTCxixdESAA7c= Original-Received: by 10.54.30.54 with SMTP id d54mr1075553wrd; Fri, 03 Jun 2005 05:08:07 -0700 (PDT) Original-Received: by 10.54.82.6 with HTTP; Fri, 3 Jun 2005 05:08:07 -0700 (PDT) Original-To: emacs-devel@gnu.org In-Reply-To: Content-Disposition: inline X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:38073 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38073 > Cool. So, for the first time, the image support on MSVC builds is as > stable as on MinGW builds. Well, I spoke too soon. I have another problem with image support on MSVC builds. It is, AFAICS, unrelated to the previous problem with the calling convention of the libraries. Doing (insert-image-file "c:/image/test/myimage.png") works, at works C-o from dired. However, either one of: (insert-image (create-image "c:/image/test/myimage.png")) (put-image (create-image "c:/image/test/myimage.png") 0) crashes. In other words: png_load, and jpeg_load, die an horrible death fro= m: (image :type xxx :file "...") but they have no trouble with (image :type xxx :data "...") png_load, for example, dies at the call to fn_png_read_info (png_ptr, info_ptr); on png_load, while jpeg_load dies at: fn_jpeg_read_header (&cinfo, 1); Any clues about what can be happening? --=20 /L/e/k/t/u