Subj : Re: Calling C++ from C To : comp.lang.c++,comp.programming.threads From : Markus Elfring Date : Fri Feb 11 2005 10:12 pm > I'm trying to write some C++ library routines callable by C. > The functions are declared extern "C" but I'm getting the > loader complaining it can't resolve new() and delete(). Am I > just missing a library or is the C++ runtime environment > also an issue? Compiling the C program as a C++ program > seems to work but I'd rather have the library look like > a plain C library. Would you like to apply the techniques that are described by Matthew Wilson in the sections "7.4 I Can C Clearly Now" and "7.4.4 Getting a Handle on C++ Classes" of the book "Imperfect C++" (ISBN 0-321-22877-4) for your evolving library? http://atomic-ptr-plus.sourceforge.net/ Regards, Markus .