This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

how to avoid name mangling of an exported function in a dll


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]