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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!eu.feeder.erje.net!news.glorb.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx05.iad.POSTED!not-for-mail From: Hubert User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Elaboration Question References: <2f5e2392-68b0-4fe0-a224-57a060a6fd56@googlegroups.com> <54a83845$0$5118$426a74cc@news.free.fr> In-Reply-To: <54a83845$0$5118$426a74cc@news.free.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 150103-1, 01/03/2015), Outbound message X-Antivirus-Status: Clean Message-ID: X-Complaints-To: abuse@newsdemon.com NNTP-Posting-Date: Sun, 04 Jan 2015 01:57:01 UTC Organization: http://www.NewsDemon.com Date: Sat, 03 Jan 2015 17:57:00 -0800 X-Received-Bytes: 1697 X-Received-Body-CRC: 1058439374 Xref: news.eternal-september.org comp.lang.ada:24334 Date: 2015-01-03T17:57:00-08:00 List-Id: > If using Gnat then when main program is in another language it must call > adainit. This will take care of elaboration. Since this graphics > library is not under your control you must trick it. For instance if yur > library calls mymain() then you must a mymain() in C consisting in a call > to adainit. Read Gnat's documentation for details Thanks, that was just an example of why I prefere manual initialization. I wouldn't dream of using the C4 engine under Ada, it is bad enough in C++. You can do really bad things there. Let's not go there or I start crying about the lost months of my life this engine cost me already :) --- This email has been checked for viruses by Avast antivirus software. http://www.avast.com