comp.lang.ada
 help / color / mirror / Atom feed
* Re: Ada95 -> Win95
       [not found] ` <32FA8F74.20D2@bix.com>
@ 1997-02-09  0:00   ` Dave Wood
  0 siblings, 0 replies; only message in thread
From: Dave Wood @ 1997-02-09  0:00 UTC (permalink / raw)



>From: Joao Duraes <lloyd@usa.net>
>
> 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"




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-02-09  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <32FA67B2.7F6E@usa.net>
     [not found] ` <32FA8F74.20D2@bix.com>
1997-02-09  0:00   ` Ada95 -> Win95 Dave Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox