This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

directx example - problem


Hi

I'm using mingw32, and I'm having some problems with the directx example
from:
http://dragon.acadiau.ca/~025668b/develop/directx/

It compiles without any errors and the program runs fine until it comes to
create the surface.  The "faulty" line is:

ddrval = lpDD->lpVtbl->CreateSurface(lpDD, &ddsd, &lpDDSPrimary, NULL );

ddrval is returned as *not* DD_OK and so the program stops.  Looking over
the program, I can't find any obvious mistakes... so what is causing this?

Thanks a lot for any help - I really want to get directx going! :)

Matt

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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