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: Sat, 21 May 2005 12:33:51 +0200 Message-ID: References: <428DB8F3.3070108@gnu.org> <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 1116672155 31016 80.91.229.2 (21 May 2005 10:42:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 May 2005 10:42:35 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 21 12:42:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DZRPs-0000KR-1G for ged-emacs-devel@m.gmane.org; Sat, 21 May 2005 12:41:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DZRSt-0000RF-G7 for ged-emacs-devel@m.gmane.org; Sat, 21 May 2005 06:44:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DZRL6-0006aW-UO for emacs-devel@gnu.org; Sat, 21 May 2005 06:36:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DZRL5-0006ZC-CK for emacs-devel@gnu.org; Sat, 21 May 2005 06:36:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DZRL4-0006XG-BT for emacs-devel@gnu.org; Sat, 21 May 2005 06:36:14 -0400 Original-Received: from [64.233.184.202] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DZRRQ-00072B-EE for emacs-devel@gnu.org; Sat, 21 May 2005 06:42:48 -0400 Original-Received: by wproxy.gmail.com with SMTP id 50so1458996wri for ; Sat, 21 May 2005 03:33:51 -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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MBYXsk+1u3j70TasdglX1JGxBqrK5nC1mGiqk9EgLMwGVF4I5m6sdGwUi8JoLlmwAueza6w+wE8zxLYvp+eZJeL8ZjAq1Vndl2bgiFQIgBo04nMCj194+SeyVTZofKQ4ByyYOQuep48kRmz+eZhJaN1B+tzSNgEdOS/jExqicJk= Original-Received: by 10.54.15.15 with SMTP id 15mr2213620wro; Sat, 21 May 2005 03:33:51 -0700 (PDT) Original-Received: by 10.54.82.6 with HTTP; Sat, 21 May 2005 03:33:51 -0700 (PDT) Original-To: Jason Rumney 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:37433 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37433 > If the other image libraries we use also use C calling conventions, > then that is the correct fix, I think. I confess I've not taken the time to check whether all the GnuWin32 libraries do use C calling conventions, but I've tested all kind of images with that fix, and they worked. That suggest they really do use C calling conventions; calling a C-style function as a Pascal one can get obscured by the fact that functions do reset the frame and stack pointers upon returning, but calling a Pascal-style function as a C one would remove too many things from the stack and it would crash on the next RET... However, and in the interest of peace of mind, I'll trace the functions and see that they're really doing what I think :) --=20 /L/e/k/t/u