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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4fd79a550e1a2b09,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-28 10:13:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!nntp.infostrada.it!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Alfred Hilscher Newsgroups: comp.lang.ada Subject: GNAT, Windows, DLLs Date: Wed, 28 May 2003 20:05:01 +0200 Organization: T-Online Message-ID: <3ED4FA4D.C8823BB8@alfred-hilscher.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1054141897 01 5332 9vMTVUCSSOASOp 030528 17:11:37 X-Complaints-To: usenet-abuse@t-online.de X-ID: Tm9-CqZaQeFsNewYwYAR8KluH0NRcsRCReSIipm9UucEPUxdkyc66V X-Mailer: Mozilla 4.75 [de] (WinNT; U) X-Accept-Language: de Xref: archiver1.google.com comp.lang.ada:37920 Date: 2003-05-28T20:05:01+02:00 List-Id: Hi, does anyone have experience in writing Windows-DLLs with GNAT? I have the follwing problem: In gnat_ug it is said, that the code has to call _ada_initialize first and _ada_finalize at last. But - my DLL shall replace an existing third party DLL. So the applications using this DLL are not Ada-aware, and there is no way to tell them "hey the DLL is replaced, you have to call now an initialize-procedure first, and you must call this finalize-procedure at the end". So is there a way to make this initializing/finalizing transparent? What can happen, if one/both of them are _not_ called? Regards, Alfred ----------------------------------------------------- To send me mail, please replace "Spam" by "Jedermann" -----------------------------------------------------