This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: DirectDrawCreate
- From: "Harold Hunt" <huntharo at msu dot edu>
- To: "Alexander Gottwald" <Alexander dot Gottwald at informatik dot tu-chemnitz dot de>, <cygwin-xfree at cygwin dot com>
- Date: Mon, 11 Feb 2002 16:15:23 -0500
- Subject: RE: DirectDrawCreate
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