* libraries
@ 2002-11-11 6:57 Artiom Ivanov
2002-11-11 7:24 ` libraries tmoran
2002-11-11 16:59 ` libraries Gautier
0 siblings, 2 replies; 3+ messages in thread
From: Artiom Ivanov @ 2002-11-11 6:57 UTC (permalink / raw)
I want to call a Win32 API function from ADA using GNAT 3.13
In C++ I know that I can use "#include <windows.h>" for example so like in
Delphi
Please can someone explain me how to proceed and which modules I should
"with" and "use"
Maybe some one can send some documentation or an example, please
Thanks in advance
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: libraries
2002-11-11 6:57 libraries Artiom Ivanov
@ 2002-11-11 7:24 ` tmoran
2002-11-11 16:59 ` libraries Gautier
1 sibling, 0 replies; 3+ messages in thread
From: tmoran @ 2002-11-11 7:24 UTC (permalink / raw)
>I want to call a Win32 API function from ADA using GNAT 3.13
>...
>Maybe some one can send some documentation or an example, please
Take a look at \gnat\bindings\win32ada\win32-*.ads, or at the various
Windows bindings on www.adapower.com In fact, why not just use one
of those bindings, instead of reinventing that wheel.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: libraries
2002-11-11 6:57 libraries Artiom Ivanov
2002-11-11 7:24 ` libraries tmoran
@ 2002-11-11 16:59 ` Gautier
1 sibling, 0 replies; 3+ messages in thread
From: Gautier @ 2002-11-11 16:59 UTC (permalink / raw)
Artiom Ivanov:
> I want to call a Win32 API function from ADA using GNAT 3.13
GNAT provides Win32 bindings: "Win32" and children packages.
An instructive example is the AdaGIDE IDE (sources downloadable)
which is programmed around the "bare" Win32 API.
Link on page below.
HTH
________________________________________________________
Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm
NB: For a direct answer, address on the Web site!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-11-11 16:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-11 6:57 libraries Artiom Ivanov
2002-11-11 7:24 ` libraries tmoran
2002-11-11 16:59 ` libraries Gautier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox