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=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2e0ee5dae7c70168,start X-Google-Attributes: gid103376,public From: "Daniel Wengelin" Subject: Generating interfaces Date: 1999/10/21 Message-ID: <01bf1b94$6a73b1a0$c24d3a8b@m04w0588>#1/1 X-Deja-AN: 538740245 X-Complaints-To: abuse@global-ip.net X-Trace: news3.global-ip.net 940490235 27216 139.58.232.1 (21 Oct 1999 07:17:15 GMT) Organization: Global One Services NNTP-Posting-Date: 21 Oct 1999 07:17:15 GMT Newsgroups: comp.lang.ada Date: 1999-10-21T07:17:15+00:00 List-Id: Hello all! I am currently contemplating the possibility of an interface to an existing Ada system to enable other technologies to be used in the creation of the HCI. We are currently running ObjectAda and our platform is Windows NT 4.0. Our Ada system is a homogenous, soft real-time, distributed system based on a large number of programs communicating with messages. A hierarcy of special purpose distribution mechanisms handle transient data distribution, reliable d:o etc. These mechanisms are normally implemented so that an Ada program wishing to send messages includes a closure of packages from the distribution mechanism with a "with" statement and an Ada program wishing to receive messages instantiates a package of the distribution mechanism with a callback subprogram that is auto-magically called when a message arrives. The top level is normally generic wrt the type. Now we want to enable VC++, ActiveX, etc HCI:s. The way to do this is to compile the Ada packages of the various services into DLLs that enable a C++ program to bind in the services in run-time. That's possible with ObjectAda. To enable the C++ program to be linked, a LIB file is required, and that can also be created with ObjectAda. However, to enable the C++ program to be compiled, a header file is required. The .h file should declare the types and functions available in the DLL. How is this best done? Cheers, Daniel Wengelin, CelsiusTech Systems