Hello, I am writing a COM server. It exports 4 functions, DllRegisterServer, DllUnRegisterServer, DllCanUnloadNow and DllCanUnloadNow. Mingw compiler mangles the exported function names by adding @x, where x is the total size of the input arguments. Due to this regsvr32 is not able to register the dll and throws error "DllRegisterServer entry point not found". Pls help me in getting rid of this problem. Thanks, Aditya Barve -- View this message in context: http://www.nabble.com/how-to-avoid-name-mangling-of-an-exported-function-in-a-dll-tp24150584p24150584.html Sent from the gcc - Help mailing list archive at Nabble.com.