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 X-Google-Thread: 103376,1943b1e68472411f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-11 10:16:44 PST Message-ID: <3D062F7D.406B8709@sympatico.ca> From: David Marceau X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.17-10mdksmp i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GNAT Ada - DLL - MSVC - debugging References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Tue, 11 Jun 2002 13:12:29 -0400 NNTP-Posting-Host: 65.92.168.142 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1023815693 65.92.168.142 (Tue, 11 Jun 2002 13:14:53 EDT) NNTP-Posting-Date: Tue, 11 Jun 2002 13:14:53 EDT Organization: Bell Sympatico Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sunqbc.risq.qc.ca!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Xref: archiver1.google.com comp.lang.ada:25751 Date: 2002-06-11T13:12:29-04:00 List-Id: "Alderson, Paul A." wrote: > > Hello, > > I am using the Gnat Ada compiler to produce an Ada DLL that is used by the > Microsoft Visual C++. > Currently everything is working, but I have no debugging information > available. I have searched the web for a possible solution, but have found > no working solutions. > The reason I need to use Ada in a DLL in the C++ environment is because I am > attempting to save a large Ada development effort by adding a new GUI for > it. Other Ada GUI's and compilers have been less than impressive. This Which Ada GUI's and compilers have you looked at? Could you clarify how you arrived at your decision to go with MSVC++? Which criteria did you use and how did you weigh them? Is there someone pushing you politically to use MSVC/MS-windows or any other tool for that matter? Have you considered using Linux(or other UNIXES)/gnat/gtkada? Have you consideted using Linux(or other UNIXES)/gnat/motif? Using these alternatives, you can gnatmake -g and debug linux dlls(shared libraries .so) with and gdb locally or remotely. If you have seen/tried these, could you clarify why they aren't "working solutions"? > solution seems to be working good, but it is difficult to debug. If you > know of a good example of accessing debug information from MSVC using an Ada > DLL I would appreciate hearing about it. > > Thanks > Paul Alderson IMHO If you want to save your "LARGE ADA DEVELOPMENT EFFORT", continue building your gui with ADA. IMHO The flash file format(.swf) is a wonderful gui architecture. Some beautiful examples: http://www.simtlc.org/simtlcmain.htm http://www.polaris-nl.com/sendacard.html http://www.joecartoon.com/pages/nannahooter/ IMHO my dream multi-platform state-of-the-art gui: 1)The web browser itself and the web browser flash player plug-in should be re-written in ada. 2)The ming flash file generation api for c/php/perl http://sourceforge.net/projects/ming or swift api http://www.swift-tools.com/ or some other similar api... should be re-written in ada. 3)Start using an ada-based ming flash file generator for building the gui. 4)In the back-end serving up all these files would obviously be AWS http://libre.act-europe.fr/aws/ I hope this helps. Sant� bonheur, David Marceau