This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
how to avoid name mangling of an exported function in a dll
- From: Aditya Barve <adibarve at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 22 Jun 2009 09:19:34 -0700 (PDT)
- Subject: 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.