From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a60ab3e6634b6eb5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-12-12 11:07:03 PST Path: supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!news.maxwell.syr.edu!newsfeed.slurp.net!not-for-mail Newsgroups: comp.lang.ada References: <00f901c0624b$17d66650$0202a8c0@db2000> <00ab01c062d1$dbff1c30$0402a8c0@dbdell2000> <200012111742.eBBHgBj31365@mmled.aedinc.net> <002e01c063a4$d1928240$850118ac@dbdell2000> Organization: Multimedia Subject: Re: SAFEARRAY and RECT, was Re: DirectX bindings X-Newsreader: trn 4.0-test72 (19 April 1999) From: cts@kampong.aedinc.net ((null)) Message-ID: Date: Tue, 12 Dec 2000 19:06:52 GMT NNTP-Posting-Host: 208.4.231.188 X-Trace: newsfeed.slurp.net 976648012 208.4.231.188 (Tue, 12 Dec 2000 13:06:52 CDT) NNTP-Posting-Date: Tue, 12 Dec 2000 13:06:52 CDT Xref: supernews.google.com comp.lang.ada:3001 Date: 2000-12-12T19:06:52+00:00 List-Id: In article <002e01c063a4$d1928240$850118ac@dbdell2000>, David Botton wrote: > >Is there a reason you can not just copy the data out of the one structure >and put it in the other that works or is the structure the same but the >contents different? If the contents are different, then typelib versions >won't make a difference. I've been looking through the type library in dx7vb.dll and the information in ddraw.h. The DX7 type library for Visual Basic outlines a completely different objects than the C header files for DX7. Certain methods exist in one, but not in the other. Some methods exist in both the C and the VB version, but take different parameters. Since I need to interface with Quicktime and since Quicktime is expecting the C++ versions of the COM objects, I think I'm out of luck with regards to the dx7vb.dll. If I didn't need to use Quicktime then dx7vb.dll would be fine, but since I do, I guess I get to learn about turning a C header file into a type library. >Trying use using comscope on the dll included with DirectX to see if any of >those contain one (I doubt it.) You doubts are correct. Anyway, thanks for your replies; they've been helpful. And thanks especially for GNATCOM. Writing bindings to DirectX by hand would almost be enough to make me take up pig farming for a living. A new slogan for GNATCOM? "Enough to keep you away from pig farming." :-) -- ======================================================================= Life is short. | Craig Spannring Bike hard, ski fast. | cts@internetcds.com --------------------------------+------------------------------------