Subj : extern "C" To : borland.public.cpp.borlandcpp From : "Sebastian Gantzert" Date : Wed Oct 15 2003 04:12 pm BCB5. Service Pack 1. Hi. I want to write a header-file importing a function from somewhere else. What's wrong with these lines of code extern "C" void __stdcall test1(void); extern "C" void __stdcall test2(); so that the following error occurs: C++ Error: E2040 Declaration terminated incorrectly. The following lines are correctly parsed: extern void __stdcall test1(void); extern void __stdcall test2(); But I need extern "C". Please help, Sebastian .