ILE C/C++ Programmer's Guide


Disabling Name Mangling to Avoid Undefined Name Errors

C++ language onlyAll C++ function names are mangled to enable function overloading. You receive an undefined names error when you bind ILE C/C++ functions with mangled names, for example, LocateSpaces__FPc.

C language onlyIn ILE C, the service program relationship is LocateSpaces__FPc == LocateSpaces or LocateSpace__FPc == LocateSpace. If you are porting ILE C code and you want to disable function name mangling, use extern "C" around the function name.


[ Top of Page | Previous Page | Next Page | Table of Contents ]