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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,CP1252 X-Google-Thread: 103376,8141f2ef049fcd7e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-11 12:04:56 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.icl.net!opentransit.net!wanadoo.fr!freenix!enst!enst.fr!not-for-mail From: "David Botton" Newsgroups: comp.lang.ada Subject: Re: Help with GNAT, WinNT, StdCall, dll, exported names Date: Thu, 11 Oct 2001 15:03:37 -0400 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <%lfx7.6$_o6.503@newsc.telia.net> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 8bit X-Trace: avanie.enst.fr 1002827096 96582 137.194.161.2 (11 Oct 2001 19:04:56 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 11 Oct 2001 19:04:56 +0000 (UTC) To: Return-Path: X-pair-Authenticated: 63.161.15.130 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:14318 Date: 2001-10-11T15:03:37-04:00 The key to fixing this is in the .def files. For example a def file generated by CreateCOM: EXPORTS DllGetClassObject=DllGetClassObject@12 @2 DllCanUnloadNow=DllCanUnloadNow@0 @3 DllRegisterServer=DllRegisterServer@0 @4 DllUnregisterServer=DllUnregisterServer@0 @5 ExternalName=WhatNameUnderstood@SizeOfParameters @DllOrdinal David Botton ----- Original Message ----- From: "Peter Hend�n" > In this case I have a server that expects to load my dll, and > then call the entry points of that dll using the StdCall convention. > > Any solutions?