This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
DirectDrawCreate
- From: Alexander Gottwald <Alexander dot Gottwald at informatik dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Mon, 11 Feb 2002 19:44:36 +0100 (MET)
- Subject: DirectDrawCreate
Hi,
The next version of of w32api will define FARPROC as int (*FARPROC)(void)
which causes problems compiling xfree. Calling one of the functions (eg
DirectDrawCreate) with parameters will now fail.
I now changed the code from calling (*fpDirectDrawCreate)(...) to
DirectDrawCreate(...) (fpDirectDrawCreate is a FARPROC from GetProcAddress).
Is this correct?
bye
ago
--
Alexander.Gottwald@informatik.tu-chemnitz.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