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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux