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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cc857abf49a1372e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Newsgroups: comp.lang.ada Subject: Re: DLLs with GNAT? From: Bernd.Specht@gmx.com (Bernd Specht) References: <41E1465F.7B44DBC3@alfred-hilscher.de> Organization: No company Message-ID: User-Agent: Xnews/4.05.03 Date: 12 Jan 2005 21:51:53 GMT NNTP-Posting-Date: 12 Jan 2005 22:51:53 MET NNTP-Posting-Host: b230efd4.newsread2.arcor-online.net X-Trace: DXC=b=koFiB9g?AVg>C^g8i1FIQ5U85hF6f;DjW\KbG]kaMHSE6H=g?m\gJ_9h502K^U=@WEh14DWb8DH8^NKL;ckSNNh_FE7]hbZeE X-Complaints-To: abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:7700 Date: 2005-01-12T22:51:53+01:00 List-Id: Alfred Hilscher wrote in news:41E1465F.7B44DBC3 @alfred-hilscher.de: > 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" > ----------------------------------------------------- > Hi Alfred, did you already get an answer? No? So do you believe me *now* that Ada is *not* useable for professional work? If you would use C then you could have finished your work already, instead of waiting for someone (who will never come) to help you with your problems. Maybe we should meet again and go for a beer. I will show you my C- environment :-)