comp.lang.ada
 help / color / mirror / Atom feed
* What do I need to write a Windows program with Ada?
@ 2003-03-17 15:23 Vincent Smeets
  2003-03-17 15:29 ` Preben Randhol
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Vincent Smeets @ 2003-03-17 15:23 UTC (permalink / raw)


Hallo,

I know how to write a program with Ada and how to use X-Window (with Motif)
for Unix. Now I have a program (smal and non-commercial) that I want to port
from Unix to a Windows (98 or 2000) environment and give it a Windows-GUI.
It will use a menu, an explorer tree and some labels and buttons. The only
problem is that I have no idea about programming for the Windows
environment.

What do I need to be able to write a program in Ada for Windows?
-   Compiler
    I have GNAT 3.15p installed.

-   Description of a Windows API
    What APIs are there, what is the difference and where do I get a
description? Are there different levels like Xlib, Xt, Athena and Motif in
Unix?

-   Where do I get a binding for a windows API?
    GNAT comes with Win32Ada. Is that usable or are there other bindings
that are easyer to use? I have heard that MFC is object-oriented for C++. Is
there an object-oriented binding for Ada?

-   Do I need an C or C++ development environment for the Ada binding?
    Does the binding require some special libraries that are not generaly
available with Windows?

-   Books
    Is there a book you can recommend to read? I have started to read a book
about using MFC with C++ (from Microsoft Press). It gives me an idea about
programming for Windows, but I can't test anything because it requires
Visual C++ which I don't have.

-   Do I miss something?


Thanks for any suggestions,
Vincent




^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: What do I need to write a Windows program with Ada?
@ 2003-03-19  1:24 David Botton
  2003-03-19  3:20 ` Fionn mac Cuimhaill
  0 siblings, 1 reply; 18+ messages in thread
From: David Botton @ 2003-03-19  1:24 UTC (permalink / raw)
  To: comp.lang.ada mail to news gateway

----- Original Message -----
From: "David Gressett" <gresset1@airmail.spam>


> GWindows is very nice - the GUI interface stuff works very well, but
> the database access stuff is incomplete and lacks documentation. It is
> a very good start, but needs more work. (I'll be happy to contribute,
> as I very much need something like this)

The key to the database stuff is knowing ADO. The GWindows database support
is just glue to that. I hope to provide more information on using it in the
near future and additional support in GWindows itself.

> Support for printing is a bit weak as well. It works, but needs to
> have some higher-level abstractions added to make it really useful.

True, it is currently just slighlty thicker than the OS APIs.

> Something analogous to the qprinter package for Visual Basic printing
> would be very nice. See
> www.qbdsoftware.co.uk/moth/qprinter/
>
> qprinter is a great idea but suffers horribly from the limitations and
> weaknesses of VB. A similar package for GWindows would be very useful
> and would help to draw VB6 programmers to Ada rather than to
> VB.NET.(Again, I would be happy to help with this.)

Thank you for the link, I'll take a good look. From what I have read so far
you should be able to use QPrinter2 with GWindows with out a problem since
it is an ActiveX dll. I'll try and do some tests.

> Another weakness of GWindows is that the mailing list where users can
> go to help each other seems to be nonfunctional.

As far as I know everything is in order, can you e-mail me directly with
your specific problems. David@Botton.com

Thanks!
David Botton





^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2003-03-19 11:07 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-17 15:23 What do I need to write a Windows program with Ada? Vincent Smeets
2003-03-17 15:29 ` Preben Randhol
2003-03-17 15:39 ` chris.danx
2003-03-17 15:48 ` Stephane Richard
2003-03-17 16:46   ` Ant
2003-03-17 17:24     ` Stephane Richard
2003-03-17 18:51       ` Ant
2003-03-17 19:41         ` Stephane Richard
2003-03-19 11:07           ` Ant
2003-03-17 17:19   ` Stephen Leake
2003-03-18  4:38   ` Bob Rosen
2003-03-17 18:31 ` tmoran
2003-03-17 21:28   ` Randy Brukardt
2003-03-17 19:23 ` David Botton
2003-03-18 19:10   ` David Gressett
2003-03-19  6:32 ` Vincent Smeets
  -- strict thread matches above, loose matches on Subject: below --
2003-03-19  1:24 David Botton
2003-03-19  3:20 ` Fionn mac Cuimhaill

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