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.3 required=5.0 tests=BAYES_00,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: "Nick Roberts" Subject: Re: COM & Ada Date: 1998/02/13 Message-ID: <01bd3812$3ecf9440$LocalHost@xhv46.dial.pipex.com>#1/1 X-Deja-AN: 324606478 Content-Transfer-Encoding: 7bit References: <887219614.265682953@dejanews.com> <6bt9n2$n38$1@news02.btx.dtag.de> <6bv2qo$64u@top.mitre.org> Keywords: COM; Ada Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Organization: UUNet UK server (post doesn't reflect views of UUNet UK) Newsgroups: comp.lang.ada Date: 1998-02-13T00:00:00+00:00 List-Id: This would be a case where a 'thin' binding would be all that is required. Something that Ada compiler vendors ought to think about hmm? At the least, provision should be made for: (a) accessing vtables (preferably, I think, by means of the Convention pragma); (b) the basic COM interfaces (IUnknown; IMalloc; etc.). -- == Nick Roberts ================================================ == Croydon, UK =========================== == ================ == Proprietor, ThoughtWing Software ========== == Independent Software Development Consultant ====== == Nick.Roberts@dial.pipex.com ==== == Voicemail & Fax +44 181-405 1124 === == == == I live not in myself, but I become == === Portion of that around me; and to me == ==== High mountains are a feeling, but the hum == ======= Of human cities torture. =========== -- Byron [Childe Harold] Michael F Brenner wrote in article <6bv2qo$64u@top.mitre.org>... > Juergen > ... 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;-)) > > Does anyone know what has already been done in the area of these header files? > > What about interfaces to Microsoft Word and to Direct X via Ada? It might > sometimes be easier to do a specific component like those two, rather than > provide an interface to all the interfaces of the Component Object Model > in Ada.