comp.lang.ada
 help / color / mirror / Atom feed
* dll with ada
@ 2002-06-19  2:41 felipe
  2002-06-19  3:50 ` David Botton
  2002-06-19  8:36 ` Pascal Obry
  0 siblings, 2 replies; 3+ messages in thread
From: felipe @ 2002-06-19  2:41 UTC (permalink / raw)


I use win98se, and i need call one dll from ada, how can call any dll from ada95.
thanks



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

* Re: dll with ada
  2002-06-19  2:41 dll with ada felipe
@ 2002-06-19  3:50 ` David Botton
  2002-06-19  8:36 ` Pascal Obry
  1 sibling, 0 replies; 3+ messages in thread
From: David Botton @ 2002-06-19  3:50 UTC (permalink / raw)


If you have (or create) the link library libXXXX.a then just link it in
creating bindings to the functions you want. Otherwise you need to use the
Win32 APIs to link them in dynamically and get the pointers to the
functions.

David Botton

"felipe" <felipevivas@yahoo.es> wrote in message
news:265b9518.0206181841.3c20149@posting.google.com...
> I use win98se, and i need call one dll from ada, how can call any dll from
ada95.
> thanks





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

* Re: dll with ada
  2002-06-19  2:41 dll with ada felipe
  2002-06-19  3:50 ` David Botton
@ 2002-06-19  8:36 ` Pascal Obry
  1 sibling, 0 replies; 3+ messages in thread
From: Pascal Obry @ 2002-06-19  8:36 UTC (permalink / raw)



felipevivas@yahoo.es (felipe) writes:

> I use win98se, and i need call one dll from ada, how can call any dll from
> ada95. thanks

Look at your compiler documentation. In GNAT User's Guide there is a whole
section for that.

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



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

end of thread, other threads:[~2002-06-19  8:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-19  2:41 dll with ada felipe
2002-06-19  3:50 ` David Botton
2002-06-19  8:36 ` Pascal Obry

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