From cygwin-xfree-return-8454-listarch-cygwin-xfree=sourceware dot cygnus dot com at cygwin dot com Mon Feb 11 21:15:37 2002 Return-Path: Delivered-To: listarch-cygwin-xfree at sourceware dot cygnus dot com Received: (qmail 32082 invoked by alias); 11 Feb 2002 21:15:35 -0000 Mailing-List: contact cygwin-xfree-help at cygwin dot com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner at cygwin dot com Delivered-To: mailing list cygwin-xfree at cygwin dot com Received: (qmail 32017 invoked from network); 11 Feb 2002 21:15:29 -0000 Received: from unknown (HELO pilot14.cl.msu.edu) (35.9.5.34) by sources dot redhat dot com with SMTP; 11 Feb 2002 21:15:29 -0000 Received: from huntharo (huntharo.user.msu.edu [35.11.210.160]) by pilot14 dot cl dot msu dot edu (8 dot 10 dot 2/8 dot 10 dot 2) with SMTP id g1BLFNf15798; Mon, 11 Feb 2002 16:15:23 -0500 From: "Harold Hunt" To: "Alexander Gottwald" , Subject: RE: DirectDrawCreate Date: Mon, 11 Feb 2002 16:15:23 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Alexander, The calls to DirectDrawCreate in Cygwin/XFree86 files are exactly as they would be if using Visual C++. > I now changed the code from calling (*fpDirectDrawCreate)(...) to > DirectDrawCreate(...) (fpDirectDrawCreate is a FARPROC from > GetProcAddress). > Is this correct? What are you talking about? I never got an address to DirectDrawCreate from GetProcAddress. Is there something in the ddraw.h or objbase.h that causes this to happen? Remember that those two headers came from the Wine project so they may have to be modified to follow new w32api conventions. Please explain what is going on a little more clearly... Harold