EDUARDO HASBUN . writes:
> I need help in importing functions from c++ using ada 95. The compiler I
> use, GNAT 3.13 has an example on importing functions, but it doesn't seem
> to work. Could somebody please tell me how I can import a function from
> another language and use it in ada 95? I would really appreciate your
> help.
This question is OS and compiler dependant. What C++ compiler do you use ?
Under which OS ?
Are you trying to use GNAT C++ specific pragma or do you want to use standard
Ada import feature ? If the later then you do it the same way you would have
done it for C.
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"