delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/12/08/16:25:41

From: bennett AT btinternet DOT com (Matthew Bennett)
Subject: directx example - problem
8 Dec 1997 16:25:41 -0800 :
Message-ID: <199712090016.QAA16596.cygnus.gnu-win32@cygint.cygnus.com>
Mime-Version: 1.0
To: "gnu-win32" <gnu-win32 AT cygnus DOT com>

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019