Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to identify Enter Key pressed by user ? Pin
David Crow14-Sep-07 3:17
David Crow14-Sep-07 3:17 
QuestionHow early can a Windows service start up? (WinXP and Vista) Pin
Maxwell Chen13-Sep-07 22:26
Maxwell Chen13-Sep-07 22:26 
QuestionHelp needed Pin
Y_Kaushik13-Sep-07 21:29
Y_Kaushik13-Sep-07 21:29 
AnswerRe: Help needed Pin
nbugalia13-Sep-07 21:42
nbugalia13-Sep-07 21:42 
GeneralRe: Help needed Pin
Y_Kaushik13-Sep-07 22:53
Y_Kaushik13-Sep-07 22:53 
GeneralRe: Help needed Pin
nbugalia13-Sep-07 23:23
nbugalia13-Sep-07 23:23 
QuestionWhat is The difference in .DLL ???? Pin
GauranG Shah13-Sep-07 21:28
GauranG Shah13-Sep-07 21:28 
AnswerRe: What is The difference in .DLL ???? Pin
Cedric Moonen13-Sep-07 21:54
Cedric Moonen13-Sep-07 21:54 
1) AFAIK, they are the same (but I'm not absolutely sure). You can have a look here[^]

2) extern "C" is needed when your dll is used in language other than C++. In C++, you have what is called function overloading (two functions with the same name and different arguments can exist). To resolve ambiguities, the linker uses decorated names to identify the different functions: it uses the function name ans some 'cryptic' characters that represent the arguments of the function. If you want to load a dll with LoadLibrary and use GetProcAddress, you have to supply the decorated name of the function, which is not very convenient.
So, using extern "C" means that the linker will use a C linkage (in C, you don't have function overloading) to identify the function: only the name is used.
This also means that you cannot overload your functions with extern "C".


Cédric Moonen
Software developer

Charting control [v1.2]

AnswerRe: What is The difference in .DLL ???? Pin
nbugalia13-Sep-07 22:00
nbugalia13-Sep-07 22:00 
QuestionSearch node in TreeView Pin
paresh_joe13-Sep-07 21:02
paresh_joe13-Sep-07 21:02 
AnswerRe: Search node in TreeView Pin
nbugalia13-Sep-07 21:23
nbugalia13-Sep-07 21:23 
AnswerRe: Search node in TreeView Pin
Nishad S13-Sep-07 21:28
Nishad S13-Sep-07 21:28 
GeneralRe: Search node in TreeView Pin
paresh_joe13-Sep-07 21:32
paresh_joe13-Sep-07 21:32 
QuestionConnection Error Pin
Programm3r13-Sep-07 20:37
Programm3r13-Sep-07 20:37 
AnswerRe: Connection Error Pin
p_13-Sep-07 23:35
p_13-Sep-07 23:35 
QuestionHow to get the byte order of a computer? Pin
kcynic13-Sep-07 20:01
kcynic13-Sep-07 20:01 
AnswerRe: How to get the byte order of a computer? Pin
Azteke13-Sep-07 20:06
Azteke13-Sep-07 20:06 
GeneralRe: How to get the byte order of a computer? Pin
kcynic13-Sep-07 22:23
kcynic13-Sep-07 22:23 
GeneralRe: How to get the byte order of a computer? Pin
Maxwell Chen13-Sep-07 22:32
Maxwell Chen13-Sep-07 22:32 
GeneralRe: How to get the byte order of a computer? Pin
David Crow14-Sep-07 3:22
David Crow14-Sep-07 3:22 
AnswerRe: How to get the byte order of a computer? [modified] Pin
kakan13-Sep-07 20:48
professionalkakan13-Sep-07 20:48 
GeneralRe: How to get the byte order of a computer? Pin
Maxwell Chen13-Sep-07 22:30
Maxwell Chen13-Sep-07 22:30 
GeneralRe: How to get the byte order of a computer? Pin
kakan13-Sep-07 23:28
professionalkakan13-Sep-07 23:28 
GeneralRe: How to get the byte order of a computer? Pin
Azteke14-Sep-07 18:10
Azteke14-Sep-07 18:10 
QuestionReading microphone input Pin
Azteke13-Sep-07 19:35
Azteke13-Sep-07 19:35 

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.