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: John McCabe Subject: Re: ADA vs. C++ Shared Memory Date: 1998/09/01 Message-ID: <6sgqc9$roh@gcsin3.geccs.gecm.com>#1/1 X-Deja-AN: 386768600 Content-Transfer-Encoding: 7bit References: <6sg0h9$g4h$1@nnrp1.dejanews.com> Content-Type: text/plain; charset=us-ascii Organization: Avatar Computer Consultants Limited Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-09-01T00:00:00+00:00 List-Id: >Is there a possibility to connect a ADA and a C++ process with a >shared Memory. Have onyone experience in this topic. Shared memory applications are really operating system dependant so you will need to read your operating system manuals to work out how to do it. If you are using a (substantially) POSIX compliant Unix then you might want to check out the manual pages for: shm_open mmap ftruncate munmap shm_unlink close These should give you an idea of how you would link C/C++ programs using shared memory. You could then get hold of the Ada POSIX bindings (Florist) and then either build them using GNAT, or use them as a basis for creating your own application (all you're really doing is importing some of the C functions and putting a wrapper round it). My advice would be to make sure you can get two very simple C/C++ programs communicating and then effectively convert one of them into Ada! Hope this helps. -- Best Regards John McCabe ===================================================================== Not necessarily my company or service providers opinions. =====================================================================