Subj : Re: C++ Wrapper Class for ADA Object file To : borland.public.cpp.borlandcpp From : "mccloed" Date : Fri Sep 05 2003 09:24 am I was thinking along that line, but let's say that I can't create a dll. The deal here is that the ADA code is compiled on the PC and the C++ code is compiled for VxWorks. Yes, I know this is a borland group, but it's still a good C++ question. " Bruce Salzman" wrote in message news:3f57d646$1@newsgroups.borland.com... > > "mccloed" wrote in message > news:3f5780a4@newsgroups.borland.com... > > Does anyone know how I can create a wrapper class that woul be able to > call > > functions from an ADA object file? > > > > The real question is how to link an Ada object file with a C++ program. If > the Ada object file format is compatable (extremely doubtful), you could > simply add it to your C++ project. If you could get the Ada compiler to > create a compatable static library or .DLL , you might try linking to the > .LIB file. You would still need a header file with appropriate definitions > of the functions you want to call (parameters, calling sequence, naming > conventions). > > Regards, > Bruce > > .