Newsgroups: comp.lang.lisp
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!newsfeed.pitt.edu!gatech!csulb.edu!hammer.uoregon.edu!news-peer.gsl.net!news.gsl.net!howland.erols.net!newsfeed.internetmci.com!news-in2.uu.net!world!rpk
From: rpk@world.std.com (Robert P. Krajewski)
Subject: Re: Using DirectX and virtual-io i-glasses with Lisp
Sender: news@world.std.com (Mr Usenet Himself)
Message-ID: <rpk-ya023080001810962218390001@news.std.com>
Date: Sat, 19 Oct 1996 02:18:39 GMT
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=ISO-8859-1
References: <547bl6$41t@ktk2.smartt.com>
Nntp-Posting-Host: ppp0a016.std.com
Mime-Version: 1.0
Organization: The World @ Software Tool & Die
X-Newsreader: Yet Another NewsWatcher 2.3.0
Lines: 21

In article <547bl6$41t@ktk2.smartt.com>, jaddison@smartt.com (Jeff Addison)
wrote:

>Has anyone seen any sample code to link the DirectX API with LISP?

I know very little about the DirectX API or Allegro Lisp, but I do know
that it's COM (Common Object Model)-based. Allegro Lisp has to be able:

- to import some COM APIs directly (like CoCreateInstance, unless the Lisp
implementation has predefined wrappers for it)

- bind to COM objects, using MIDL source file or an OLE typelib, or maybe
even a C++ source file that uses DECLARE_INTERFACE_.

- Also, being able to import GUIDs for IIDs and class factory IDs would be nice

If the Lisp allows you to use COM, you can follow along with DirectX
examples for other languages and translate as needed.

I haven't kept up with Lisp for years (after working at LMI and Gold Hill);
I hope that Windows Lisps have COM support now...
