This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]