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,606ab2e12ad5a03a X-Google-Attributes: gid103376,public From: Stephen Leake Subject: Re: ADA vs. C++ Shared Memory Date: 1998/09/02 Message-ID: #1/1 X-Deja-AN: 387262599 References: <6sg034$fbc$1@nnrp1.dejanews.com> Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Newsgroups: comp.lang.ada Date: 1998-09-02T00:00:00+00:00 List-Id: kelch@my-dejanews.com writes: > Hy !! > > Is it possible to create a shared memory between ADA and C++. > If anyone know how, please report me If you mean "shared variables between an Ada module and a C++ module", that's easy, just export a variable from Ada using convention C, and declare the same variable in C++ using "extern C". Then link the code together into one executable, and voila. If you mean "shared memory between one process running Ada code and another process running C++ code", that's operating system and compiler dependent. The single executable approach is much simpler, and much more portable. -- Stephe