|
-
Nov 29th, 2001, 05:23 PM
#1
Name Mangling (VC++6)
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.
-
Dec 1st, 2001, 08:59 PM
#2
Hyperactive Member
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 this
Code:
?CreateInstance@@YAPAUIUNknown@@XZ
i dont know if thats what you were looking for...i just came accross it...
Amon Ra
The Power of Learning.
-
Dec 1st, 2001, 09:45 PM
#3
Thats what I am looknig for =). I want to know how to get the return type and parameters from that decoration.
Z.
-
Dec 2nd, 2001, 10:37 AM
#4
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.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 2nd, 2001, 11:12 AM
#5
Monday Morning Lunatic
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.
For the good reason that it's totally internal and highly proprietary to the compiler.
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
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|