comp.lang.ada
 help / color / mirror / Atom feed
* Ada Win API Interface?
@ 1996-09-07  0:00 Spasmo
  1996-09-12  0:00 ` Robert Dewar
  0 siblings, 1 reply; 2+ messages in thread
From: Spasmo @ 1996-09-07  0:00 UTC (permalink / raw)



Ok, another question.

	I keep on seeing that Ada (GNAT) offers bindings to the
Win API to let us do Windows programming, however I'm wondering
if by bindings they mean direct one to one mappings of the
API functions, or are there more convenient wrappers?  IN short
if I wanted to do Win programming in Ada (after getting the
appropriate files) would I need to keep an SDK book handy?

Thanks.


--
Spasmo
"John Wayne was a Nazi, he liked to play SS
 He had a picture of Adolph the Boy tucked in his cowboy vest"
	"John Wayne was a Nazi" by MDC





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

* Re: Ada Win API Interface?
  1996-09-07  0:00 Ada Win API Interface? Spasmo
@ 1996-09-12  0:00 ` Robert Dewar
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 1996-09-12  0:00 UTC (permalink / raw)



Spasmo says

"        I keep on seeing that Ada (GNAT) offers bindings to the
Win API to let us do Windows programming, however I'm wondering
if by bindings they mean direct one to one mappings of the
API functions, or are there more convenient wrappers?  IN short
if I wanted to do Win programming in Ada (after getting the
appropriate files) would I need to keep an SDK book handy?

Thanks."


First, the binding you are talking about comes from Intermetrics, and works
with several compilers including GNAT.

Second, it is a thin binding, i.e. as close to a 1-1 mapping as possible

Third, you indeed need to keep an SDK book handy (note that if we had
a thick binding, then you would (a) have to learn the new semantics, and
(b) keep some other thick, Ada-specific, manual handy?

Generally what most people want are thin bindings. That does not preclude
someone from building a nice thick binding on top of this thin binding.





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

end of thread, other threads:[~1996-09-12  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-09-07  0:00 Ada Win API Interface? Spasmo
1996-09-12  0:00 ` Robert Dewar

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