delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/10/23/22:45:42

From: colin AT fu DOT is DOT saga-u DOT ac DOT jp (Colin Peters)
Subject: DirectDraw
23 Oct 1996 22:45:42 -0700 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199610240052.JAA05672.cygnus.gnu-win32@bird.fu.is.saga-u.ac.jp>
Original-To: drewes AT interstice DOT com
Original-CC: gnu-win32 AT cygnus DOT com
In-reply-to: Rich Drewes's message of Tue, 22 Oct 1996 23:56:45 +0000 () <Pine.BSF.3.91.961022235154.11395A-100000@interstice.com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

> Date: Tue, 22 Oct 1996 23:56:45 +0000 ()
> From: Rich Drewes <drewes AT interstice DOT com>
> 
> Can anyone comment on the feasibility of accessing the DirectDraw API 
> from gnu-win32?  Is this a now kind of thing, a someday kind of thing, or 
> a never kind of thing?

I'd say it's a now-ish someday kind of thing. I don't think the DirectDraw
API functions are included in any import libraries with GNU-Win32, but,
if you could create the .def file then you could get the import library
real quick like.

A bigger problem would be appropriate header files. That's a real someday
kind of thing (I think). OTOH if you already have the headers from some
SDK or something then no problem. (Or you can write them yourself... *:O)

I don't think there are many inherent difficulties in using the gcc stuff
with new Mircosoft APIs. There is the current thunking weirdness with DLL
calls, but that will (I hope) go away someday. There is also the different
name-mangling schemes for GNU, but Borland also uses different name
mangling. It just means that DLL exports have to be extern "C" (sigh).

Maybe I'm wrong, maybe the DirectDraw API is really wacked out and you can
only use it with MS compilers, but I would be suprised.

Colin.

------------------------------------------------------------------------------
Colin Peters ------------ Saga Univ. Dept. of Information Science, Saga, JAPAN
http://www.fu.is.saga-u.ac.jp/~colin/home.html - colin AT bird DOT fu DOT is DOT saga-u DOT ac DOT jp
$@%3%j%s(J $@%T!<%?!<%:(J - $@:42lBg3XM}9)3XIt>pJs2J3X2J>pJs4pAC3X9V:B(J
                    - Current favorite kanji: $@@2$l(J $@<G AT 8(J -


-
For help on using this list, 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