comp.lang.ada
 help / color / mirror / Atom feed
* Help - Interfacing with C using Ada 83
@ 1996-10-09  0:00 Tai Pan
  1996-10-11  0:00 ` Greg Dickie X2955
  1996-10-13  0:00 ` Jim Dorman
  0 siblings, 2 replies; 3+ messages in thread
From: Tai Pan @ 1996-10-09  0:00 UTC (permalink / raw)



Can somebody tell me how to get Ada 83 to call a C routine in an MS-DOS
environment? I'm using an ActivAda compiler and Borland C++ v4.51. The C
routine returns null terminated strings up to 255 characters. I have the
C source so the C compiler settings can be adjusted if required.
Portability is not an issue. 

My project engineer says it can't be done. I find this hard to believe
but I'm new to Ada and don't have much "hands on". I'm a bit paranoid
about playing with the Ada compiler since compiling the demo "hello
world" with three (!) added resulted in a compiler crash that scrambled
my primary drive (not running the program, just trying to compile it). 
Surely Ada can handle such a seemingly simple task. Any help would be
appreciated. Thanks in advance.




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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-09  0:00 Help - Interfacing with C using Ada 83 Tai Pan
1996-10-11  0:00 ` Greg Dickie X2955
1996-10-13  0:00 ` Jim Dorman

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