comp.lang.ada
 help / color / mirror / Atom feed
* Import C
@ 2004-01-26 13:48 Nando
  2004-01-26 14:30 ` Ludovic Brenta
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Nando @ 2004-01-26 13:48 UTC (permalink / raw)


Hello!!!
I need make an Ada application. I need send and receive some information
to/from the serial port communication (from PC to another device).

I don't know how to do it in Ada, but I know to do it in C/C++. I have found
the command "pragma inport(C, ...)" but I don't know how it works :((

My questions:
* Is enough the .C and .H files or I need the object file?
* How my Ada code know what file has my subrutine? i.e., where I say in my
Ada source code what files to include?

If you could give me a little example or documentation you would help me
very much.

Thanks you to every people.
Fernando






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

end of thread, other threads:[~2004-01-29 17:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-26 13:48 Import C Nando
2004-01-26 14:30 ` Ludovic Brenta
2004-01-27  5:47   ` Nando
2004-01-26 14:51 ` Stephen Leake
2004-01-27  5:56   ` Nando
2004-01-28  9:30 ` Import C... Works!! but how does it work :/ Nando
2004-01-28 14:24   ` Ludovic Brenta
2004-01-29 17:12   ` Stephen Leake

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