Does anyone have a quick link on how VC "decorates" function names? This is totally out of curiosity, so no one really has to do an hour search for anything =).
Thanks.
Z.
Printable View
Does anyone have a quick link on how VC "decorates" function names? This is totally out of curiosity, so no one really has to do an hour search for anything =).
Thanks.
Z.
in a COM book i bought not too long ago, it explains how functions are "decorated" if you dont add C linkage for dll export functions...
it says
without C linkage would look like thisCode:CreateInstance()
i dont know if thats what you were looking for...i just came accross it... :)Code:?CreateInstance@@YAPAUIUNknown@@XZ
Thats what I am looknig for =). I want to know how to get the return type and parameters from that decoration.
Z.
You can search in the internet, if you don't find any information in somer strange sites, there won't be any. MS surely does not document this.
For the good reason that it's totally internal and highly proprietary to the compiler.Quote:
Originally posted by CornedBee
You can search in the internet, if you don't find any information in somer strange sites, there won't be any. MS surely does not document this.
No two compilers can be guaranteed to mangle names the same way, and I don't think it's stated in the standard.
Anyway, you can probably work it out by checking "create map file" under your linker settings and making a few examples :)