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-Thread: 103376,cc857abf49a1372e,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!feed.news.tiscali.de!news.belwue.de!newsfeed.arcor.de!news.arcor.de!not-for-mail Message-ID: <41E1465F.7B44DBC3@alfred-hilscher.de> Date: Sun, 09 Jan 2005 15:57:35 +0100 From: Alfred Hilscher X-Mailer: Mozilla 4.75 [de] (WinNT; U) X-Accept-Language: de MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: DLLs with GNAT? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Organization: Arcor NNTP-Posting-Date: 09 Jan 2005 15:58:09 MET NNTP-Posting-Host: 06a385b7.newsread2.arcor-online.net X-Trace: DXC=anhAoE1`i^K:BTg1DiO7HBQ5U85hF6f;DjW\KbG]kaMHSE6H=g?m\gJhVWRV2F]5fNWEh14DWb8DHe]M1oCX\`aK=P=GFEihNHE X-Complaints-To: abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:7578 Date: 2005-01-09T15:58:09+01:00 List-Id: Hi, I try to write a DLL with GNAT but I've got some problem. I've done the example from the GNAT maual and I succeed to built and to call the DLL. Then I've tried to do some initialisation by adding the DllMain function. gnatdll shows a warning that DllMain is linked to DllMain@12, but windows seems _not_ to call the DllMain when loaing my dll. What's wrong? Please, can someone help me? Thanks, Alfred ----------------------------------------------------- To send me mail, please replace "Spam" by "Jedermann" -----------------------------------------------------