Click here to Skip to main content
15,899,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhy Function Name in DLL so strange ? Pin
jinzhecheng22-Dec-05 6:25
jinzhecheng22-Dec-05 6:25 
AnswerRe: why Function Name in DLL so strange ? Pin
David Crow22-Dec-05 6:45
David Crow22-Dec-05 6:45 
AnswerRe: why Function Name in DLL so strange ? Pin
toxcct22-Dec-05 6:58
toxcct22-Dec-05 6:58 
GeneralRe: why Function Name in DLL so strange ? Pin
vikas amin22-Dec-05 20:39
vikas amin22-Dec-05 20:39 
GeneralRe: why Function Name in DLL so strange ? Pin
Eytukan22-Dec-05 23:05
Eytukan22-Dec-05 23:05 
AnswerRe: why Function Name in DLL so strange ? Pin
Chris Losinger22-Dec-05 7:07
professionalChris Losinger22-Dec-05 7:07 
AnswerRe: why Function Name in DLL so strange ? Pin
jinzhecheng22-Dec-05 8:16
jinzhecheng22-Dec-05 8:16 
AnswerRe: why Function Name in DLL so strange ? Pin
Bob Stanneveld22-Dec-05 20:15
Bob Stanneveld22-Dec-05 20:15 
Hello,

This is what the C++ compiler does to your function names. The process is called name mangling[^]. You can use extern C to say to the compiler that you only wish to add an underscore to the function name. This disables any overloading..
extern "C"
{
    void func1();
    // more functions here
}


Hope this helps. Smile | :)

Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
QuestionAll of my .exe's crash >( why? Pin
eos4life22-Dec-05 6:12
eos4life22-Dec-05 6:12 
AnswerRe: All of my .exe's crash >( why? Pin
Nish Nishant22-Dec-05 8:33
sitebuilderNish Nishant22-Dec-05 8:33 
GeneralRe: All of my .exe's crash >( why? Pin
PJ Arends22-Dec-05 8:57
professionalPJ Arends22-Dec-05 8:57 
GeneralRe: All of my .exe's crash >( why? Pin
Nish Nishant22-Dec-05 9:23
sitebuilderNish Nishant22-Dec-05 9:23 
GeneralRe: All of my .exe's crash >( why? Pin
eos4life24-Dec-05 14:53
eos4life24-Dec-05 14:53 
AnswerRe: All of my .exe's crash >( why? Pin
ThatsAlok22-Dec-05 18:59
ThatsAlok22-Dec-05 18:59 
GeneralRe: All of my .exe's crash >( why? Pin
Office Lineman23-Dec-05 6:16
Office Lineman23-Dec-05 6:16 
GeneralRe: All of my .exe's crash >( why? Pin
eos4life24-Dec-05 14:48
eos4life24-Dec-05 14:48 
QuestionHow to move from one field to another by ENTER KEY Pin
mikobi22-Dec-05 4:37
mikobi22-Dec-05 4:37 
AnswerRe: How to move from one field to another by ENTER KEY Pin
Owner drawn22-Dec-05 17:22
Owner drawn22-Dec-05 17:22 
GeneralRe: How to move from one field to another by ENTER KEY Pin
mikobi22-Dec-05 19:23
mikobi22-Dec-05 19:23 
GeneralRe: How to move from one field to another by ENTER KEY Pin
Sheng Jiang 蒋晟22-Dec-05 21:04
Sheng Jiang 蒋晟22-Dec-05 21:04 
GeneralRe: How to move from one field to another by ENTER KEY Pin
Owner drawn22-Dec-05 21:18
Owner drawn22-Dec-05 21:18 
GeneralRe: How to move from one field to another by ENTER KEY Pin
Owner drawn22-Dec-05 21:30
Owner drawn22-Dec-05 21:30 
GeneralRe: How to move from one field to another by ENTER KEY Pin
mikobi22-Dec-05 21:49
mikobi22-Dec-05 21:49 
GeneralRe: How to move from one field to another by ENTER KEY Pin
Owner drawn22-Dec-05 22:00
Owner drawn22-Dec-05 22:00 
QuestionVS.Net 2005 and STL Pin
Steve Thresher22-Dec-05 3:55
Steve Thresher22-Dec-05 3:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.