Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-ID: <3C6AA2F7.BD71F164@yahoo.com> Date: Wed, 13 Feb 2002 12:31:35 -0500 From: Earnie Boyd X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Earnie Boyd Subject: [Fwd: [Mingw-users] FARPROC not the same as in win32 SDK] Content-Type: multipart/mixed; boundary="------------97E3448C89C17459D74B422A" This is a multi-part message in MIME format. --------------97E3448C89C17459D74B422A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit FYI. Earnie. --------------97E3448C89C17459D74B422A Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Apparently-To: earnie_boyd AT yahoo DOT com via web12105.mail.yahoo.com; 13 Feb 2002 09:18:04 -0800 (PST) X-RocketRCL: 1038;1;2958330726 Return-Path: X-Track: 1: 40 Return-Path: Received: from usw-sf-fw2.sourceforge.net (EHLO usw-sf-list1.sourceforge.net) (216.136.171.252) by mta544.mail.yahoo.com with SMTP; 13 Feb 2002 09:17:32 -0800 (PST) Received: from localhost ([127.0.0.1] helo=usw-sf-list1.sourceforge.net) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16b30s-0004sn-00; Wed, 13 Feb 2002 09:16:10 -0800 Received: from meg.hrz.tu-chemnitz.de ([134.109.132.57]) by usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 16b30B-0004iC-00 for ; Wed, 13 Feb 2002 09:15:27 -0800 Received: from sunnyboy.informatik.tu-chemnitz.de ([134.109.193.18]) by meg.hrz.tu-chemnitz.de with esmtp (Exim 3.32 #3) id 16b308-0000PT-00 for mingw-users AT lists DOT sourceforge DOT net; Wed, 13 Feb 2002 18:15:24 +0100 Received: from stargate.ago.vpn (rotuma.informatik.tu-chemnitz.de [134.109.185.55]) by sunnyboy.informatik.tu-chemnitz.de (8.8.8+Sun/8.8.8) with ESMTP id SAA29715 for ; Wed, 13 Feb 2002 18:15:20 +0100 (MET) Received: from lupus.ago.vpn (lupus.ago.vpn [192.168.26.203]) by stargate.ago.vpn (Postfix on SuSE Linux 7.0 (i386)) with ESMTP id 9051A19072 for ; Wed, 13 Feb 2002 16:56:17 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lupus.ago.vpn (Postfix) with ESMTP id BAF671F9C for ; Wed, 13 Feb 2002 16:51:34 +0100 (MET) From: Alexander Gottwald To: mingw-users AT lists DOT sourceforge DOT net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [Mingw-users] FARPROC not the same as in win32 SDK Sender: mingw-users-admin AT lists DOT sourceforge DOT net Errors-To: mingw-users-admin AT lists DOT sourceforge DOT net X-BeenThere: mingw-users AT lists DOT sourceforge DOT net X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General mail list for posts concerning MinGW List-Unsubscribe: , List-Archive: X-Original-Date: Wed, 13 Feb 2002 16:51:34 +0100 (MET) Date: Wed, 13 Feb 2002 16:51:34 +0100 (MET) X-Mozilla-Status2: 00000000 Hi, I recently got the w32api from the CVS and now the compilation of this small code broke. FARPROC fpDirectDrawCreate = GetProcAddress(hmodDDraw, "DirectDrawCreate"); if (fpDirectDrawCreate != NULL) { retval = (*fpDirectDrawCreate) (NULL, &lpdd, NULL); } The reason is the definition of FARPROC which was in former versions typedef int (WINAPI *FARPROC)(); and is now typedef int (WINAPI *FARPROC)(void); This differs from the definition in the win32 SDK include files and breaks for example Microsofts DirectDraw examples. I hope you'll revert to the previous version. bye ago -- Alexander DOT Gottwald AT informatik DOT tu-chemnitz DOT de http://www.gotti.org ICQ: 126018723 phone: +49 3725 349 80 80 mobile: +49 172 7854017 4. Chemnitzer Linux-Tag http://www.tu-chemnitz.de/linux/tag/lt4 _______________________________________________ MinGW-users mailing list MinGW-users AT lists DOT sourceforge DOT net You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users --------------97E3448C89C17459D74B422A-- _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com