Subj : Re: C++ Wrapper Class for ADA Object file To : borland.public.cpp.borlandcpp From : "Benjamin Pratt" Date : Thu Sep 04 2003 06:36 pm If you can create the dll, but cannot get a lib file with compatible linkage, you could load the dll dynamically(LoadLibrary()) and use GetProcAddress() to get a pointer to the function in the dll. " 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 > > .