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,8b8748382fcfacc1 X-Google-Attributes: gid103376,public From: "David Botton" Subject: Re: friend classes in ada95 (long) Date: 2000/04/18 Message-ID: #1/1 X-Deja-AN: 612842760 References: X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: support@usenetserver.com Organization: WebUseNet Corp http://www.usenetserver.com - Home of the fastest NNTP servers on the Net. X-MSMail-Priority: Normal NNTP-Posting-Date: Tue, 18 Apr 2000 16:45:01 EDT Newsgroups: comp.lang.ada Date: 2000-04-18T00:00:00+00:00 List-Id: GNATCOM already does that very well and its tools build all the code for you from start finish, you just have to fill in the bodies for the COM objects. As for using the COM objects you run BindCOM or use the dynamic interface, and wiz bang you are on your way. What I am looking to do is introduce interface MI in to Ada syntax. And if I am already going to implement it, I might as well do it in a way that would make it easier to write a COM object in raw Ada. I would still never suggest any one try and write COM objects with out a framework like GNATCOM, much as most people would never write COM objects in C++ with out ATL or MFC. Of course, I can already do interface MI in Ada already, so this is really just about syntax. I am not happy that Ada comes out looking bad in OO circles, since most people can not bridge the gap from "class X" to "type X is tagged", even though there is none. David Botton wrote in message news:TSSK4.73$vE6.38666@news.pacbell.net... > > -- Interface IUnknown > > ... > > How about making a hidden MSWindows COM object to serve as the nucleus > of a higher level Ada object instead of adding syntax to tell the > Ada compiler to create today's low level MS Windows binary to > access COM objects.