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,ASCII-7-bit X-Google-Thread: 103376,b7e4340100880cc9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-13 07:49:50 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!opentransit.net!wanadoo.fr!teaser.fr!enst!enst.fr!not-for-mail From: "David Botton" Newsgroups: comp.lang.ada Subject: Re: gnat ada DLL and VB Date: Mon, 13 Aug 2001 10:50:32 -0400 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <9Src7.1578$bl.79685@news.siol.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: 7bit X-Trace: avanie.enst.fr 997714188 56672 137.194.161.2 (13 Aug 2001 14:49:48 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 13 Aug 2001 14:49:48 +0000 (UTC) Cc: To: Return-Path: X-pair-Authenticated: 65.185.64.49 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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:11852 Date: 2001-08-13T10:50:32-04:00 Why would any one write a DLL on windows to work with VB or for that matter with any language? Particularly when there are excellent COM/DCOM tools that make creating COM objects with Ada 95 easier then perhaps even VB itself :-) Step 1 - Write IDL and compile with MIDL to a TypeLibrary (or use a GUI type library creation tool) Step 2 - Run CreateCOM on TLB file Step 3 - Fill in the blanks :-) DONE DLL's these days are only being developed for use with inferior languages like C/C++ where the average programmer is too lazy to write/use COM/DCOM objects since their tools and/or skills are not as well developed on the Windows platform. http://www.adapower.com/gnatcom David Botton ----- Original Message ----- From: "isaac buchwald" > Does anybody tryed to build a simple dll in gnat ada (v 3.13p) that > was > able to reference it in a visual basic (v 6.0) project - and it was > working? > > If there is such a mighty ada programmer , please share your demo > code > with the community.