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.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FROM_WORDY,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fc52172fd5882460 X-Google-Attributes: gid103376,public From: Juergen.Pfeifer@t-online.de (Juergen Pfeifer) Subject: Re: COM & ADA Date: 1998/02/11 Message-ID: <6bt9n2$n38$1@news02.btx.dtag.de>#1/1 X-Deja-AN: 324415512 Content-Transfer-Encoding: 8bit References: <887219614.265682953@dejanews.com> X-Sender: 06162912249-0001@t-online.de Content-Type: text/plain; charset=iso-8859-1 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: T-Online Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-02-11T00:00:00+00:00 List-Id: As COM isn't language dependant, the question isn't a proper one. There is some conveniance if you use C++, because part of the COM model is a virtual function table representing an interface and that is defined in the same way the C++ compiler lays out its vtable. On Win32 this is of course the layout of microsofts C++ compiler, on other platforms ( (D)COM is available on some UNIXes and on OS/390 Mainframe OS) the layout is according to the OS vendors predominant C++ compiler. On Linux for example the COM vtables are layed out according to the GNU g++ compiler. The nice thing there is, that the GNAT Ada95 compiler also uses this vtable layout, so you don't have to adjust this mechanism. At least with GNAT the way the compiler interfaces to C++ vtables can be changed by the programmer, so you can adapt this to the C++ vtable layout that is used by COM on your platform. Then you can use the Ada95 tagged record mechanism to construct your COM objects. The real bad news is of courses, that all the header files with all the predefined GUIDS, Interfaces etc, etc. only exist for C/C++, so you have to do a lot to get a nice set of Ada95 packages to be able to use COM easily (if that's possible at all, but thats a different story;-)) Cheers Juergen ahmed@info.polymtl.ca schrieb in Nachricht <887219614.265682953@dejanews.com>... >Hi, I want to know if COM and ADA are compatible >do you know any WEB site about ADA and Component Object Model > >Thank you > >-------------------==== Posted via Deja News ====----------------------- > http://www.dejanews.com/ Search, Read, Post to Usenet