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,327e54c1c9b9f9d3,start X-Google-Attributes: gid103376,public From: choboy@calspan.com Subject: Linking Ada applications with the HLA RTI 1.3 Date: 1999/04/26 Message-ID: <7g2c6r$sqj$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 471128058 X-Http-Proxy: 1.1 x14.dejanews.com:80 (Squid/1.1.22) for client 137.100.53.57 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Apr 26 18:44:43 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95) Date: 1999-04-26T00:00:00+00:00 List-Id: Has anyone ever linked a Sun Ada83 application with the RTI 1.3 C++ version? I have a legacy system developed in Ada which uses a C++ middleware package to invoke the RTI services. When the C++ package invokes Create or Join services the RTI generates a segmentation error. I replaced the Ada portion with a test driver written in C++ and the Create and Join work fine. I looked at the Ada95 version of HelloWorld supplied with the RTI but that uses a C++ main program to call the Ada code, i.e. a C++ program which uses Ada code rather than an all Ada program interfacing to the RTI. Using a C++ main program is not feasible for my application. I suspect the Ada environment has not set up everything the C++ programs need to operate correctly. I verified that the Ada compiler is generating a threaded executable and is linked with the RTI threaded libraries. At this time, it isn't practical for us to migrate the legacy code to Ada95 or C++. If anyone has experience with the Ada to RTI interface and/or suggestions, I would greatly appreciate your input. Thanks Bob Choboy Veridian Engineering e-mail: rchoboy@buffalo.veridian.com -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own