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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ed7453e92597d0d4 X-Google-Attributes: gid103376,public From: Dave Wood Subject: Re: Ada95 -> Win95 Date: 1997/02/09 Message-ID: <32FE3E9B.616@aonix.com>#1/1 X-Deja-AN: 217661694 sender: news@thomsoft.com (USENET News Admin @flash) x-nntp-posting-host: wood2 references: <32FA67B2.7F6E@usa.net> <32FA8F74.20D2@bix.com> content-type: text/plain; charset=us-ascii organization: Thomson Software Products mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.0 (Win95; I) Date: 1997-02-09T00:00:00+00:00 List-Id: >From: Joao Duraes > > Is it possible to write code for Ada95, which after compiled can be run >in Windows 95 GUI environment? Sure. With ObjectAda for Windows, go to the project settings dialog, click the Link tab, and select "Windows" from the "application type" combo box. Your application will automatically be built as a Win32 GUI application for both Windows 95 and NT. Other Ada 95-based products that can be used to make Win32 applications include RR software and GNAT. To build your GUI interface, you'll want to use something like the ObjectAda GUI Builder, which works like Visual Basic but automatically generates Ada 95 object-oriented code. You'll find this considerably more productive than hand-coding. You may also find the core MFC bindings and graphics libraries included with OpenPack to be useful in creating more sophisticated Win32 applications. If you want to keep things simple and don't care about the GUI aspect, you have two easy options. First, you can simply create "console" applications which run in a Windows 95 DOS window. You do this by selecting "console" from the Link settings tab described above. This allows you to make straight Ada 95 (say, text_io) programs that either run under Windows 95 or NT, or can be exported to ordinary DOS machines simply by re-linking with the DOS Extender provided in OpenPack. The other option is to generate Java byte code from your Ada 95 source using ObjectAda's JVM mode. This way, your resulting app will run not only on Windows 95, but on any OS or browser that is enabled for the Java Virtual Machine. So, you have a number of ways to go depending on your needs and preferences. -- Dave Wood -- Product Manager, ObjectAda for Windows -- Aonix - "Ada with an Attitude"