Click here to Skip to main content
15,905,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Taskbar Notification Pin
Iain Clarke, Warrior Programmer6-Feb-08 0:00
Iain Clarke, Warrior Programmer6-Feb-08 0:00 
GeneralRe: Taskbar Notification Pin
David Crow6-Feb-08 2:37
David Crow6-Feb-08 2:37 
GeneralDLL function by ordinal Pin
George_George5-Feb-08 20:55
George_George5-Feb-08 20:55 
GeneralRe: DLL function by ordinal Pin
CPallini5-Feb-08 21:05
mveCPallini5-Feb-08 21:05 
GeneralRe: DLL function by ordinal Pin
George_George6-Feb-08 18:42
George_George6-Feb-08 18:42 
GeneralRe: DLL function by ordinal Pin
Dexterus6-Feb-08 0:45
Dexterus6-Feb-08 0:45 
GeneralRe: DLL function by ordinal Pin
George_George6-Feb-08 18:44
George_George6-Feb-08 18:44 
Generalextern "C" Pin
George_George5-Feb-08 20:46
George_George5-Feb-08 20:46 
GeneralRe: extern "C" Pin
CPallini5-Feb-08 22:53
mveCPallini5-Feb-08 22:53 
JokeRe: extern "C" Pin
Rajesh R Subramanian5-Feb-08 23:34
professionalRajesh R Subramanian5-Feb-08 23:34 
GeneralRe: extern "C" Pin
CPallini5-Feb-08 23:36
mveCPallini5-Feb-08 23:36 
GeneralRe: extern "C" Pin
Rajesh R Subramanian5-Feb-08 23:45
professionalRajesh R Subramanian5-Feb-08 23:45 
GeneralRe: extern "C" Pin
CPallini5-Feb-08 23:55
mveCPallini5-Feb-08 23:55 
GeneralRe: extern "C" Pin
Rajesh R Subramanian5-Feb-08 23:57
professionalRajesh R Subramanian5-Feb-08 23:57 
GeneralRe: extern "C" Pin
George_George6-Feb-08 18:20
George_George6-Feb-08 18:20 
Thanks CPallini,


1.

I have read the link, for normal function, extern "C" only need to be added to declaration, and if containing function pointer as parameter, we need to add extern "C" to definition as well.

2.

But the link only covers functions, my question is about variables, does the same rule applies to variable we well?

3.

How about your points to my question (2)?

regards,
George
GeneralRe: extern "C" Pin
CPallini6-Feb-08 20:50
mveCPallini6-Feb-08 20:50 
GeneralRe: extern "C" Pin
George_George7-Feb-08 3:29
George_George7-Feb-08 3:29 
GeneralRe: extern "C" Pin
CPallini7-Feb-08 3:53
mveCPallini7-Feb-08 3:53 
GeneralRe: extern "C" Pin
George_George7-Feb-08 4:08
George_George7-Feb-08 4:08 
GeneralHttp download resume support Pin
Sudhir Mangla5-Feb-08 18:47
professionalSudhir Mangla5-Feb-08 18:47 
GeneralRe: Http download resume support Pin
Hamid_RT5-Feb-08 19:42
Hamid_RT5-Feb-08 19:42 
GeneralRe: Http download resume support Pin
Sudhir Mangla5-Feb-08 19:46
professionalSudhir Mangla5-Feb-08 19:46 
GeneralRe: Http download resume support Pin
David Crow6-Feb-08 2:40
David Crow6-Feb-08 2:40 
GeneralQuery on system() API on VC 6.0 Pin
Member 38696825-Feb-08 18:33
Member 38696825-Feb-08 18:33 
GeneralRe: Query on system() API on VC 6.0 Pin
hxhl955-Feb-08 18:37
hxhl955-Feb-08 18:37 

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.