On 22 Jan 2007, at 21:45, Felipe Monteiro de Carvalho wrote: > function User.Sum(Self: Pointer; a, b: cint): cint; cdecl; external > 'cpplib.dll'; cpp_method_name_mandling; No, just with "cppdecl" instead of "cdecl". Afaik we even already have that keyword in the compiler. It just doesn't do any C++ name mangling currently. Jonas