Click here to Skip to main content
15,914,070 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: LL_KEYBOARD hook problem Pin
hxhl955-Oct-08 14:16
hxhl955-Oct-08 14:16 
GeneralRe: LL_KEYBOARD hook problem Pin
PJ Arends5-Oct-08 16:56
professionalPJ Arends5-Oct-08 16:56 
GeneralRe: LL_KEYBOARD hook problem Pin
hxhl956-Oct-08 7:10
hxhl956-Oct-08 7:10 
QuestionSockets - Roughly, how many clients can a server handle for gaming purposes Pin
simon alec smith5-Oct-08 7:15
simon alec smith5-Oct-08 7:15 
AnswerRe: Sockets - Roughly, how many clients can a server handle for gaming purposes Pin
cmk5-Oct-08 16:26
cmk5-Oct-08 16:26 
AnswerRe: Sockets - Roughly, how many clients can a server handle for gaming purposes Pin
Moak6-Oct-08 23:18
Moak6-Oct-08 23:18 
QuestionCFormView looses title on losing focus Pin
bxveer5-Oct-08 3:44
bxveer5-Oct-08 3:44 
QuestionCSplitterWnd Pin
john56325-Oct-08 3:36
john56325-Oct-08 3:36 
AnswerRe: CSplitterWnd Pin
PJ Arends5-Oct-08 11:19
professionalPJ Arends5-Oct-08 11:19 
AnswerRe: CSplitterWnd Pin
Hamid_RT6-Oct-08 1:56
Hamid_RT6-Oct-08 1:56 
Questionpoi command error? Pin
George_George5-Oct-08 2:06
George_George5-Oct-08 2:06 
Questionname decoration issue in DLL Pin
George_George5-Oct-08 0:54
George_George5-Oct-08 0:54 
AnswerRe: name decoration issue in DLL Pin
cmk5-Oct-08 2:05
cmk5-Oct-08 2:05 
GeneralRe: name decoration issue in DLL Pin
George_George5-Oct-08 2:49
George_George5-Oct-08 2:49 
GeneralRe: name decoration issue in DLL Pin
cmk5-Oct-08 3:46
cmk5-Oct-08 3:46 
GeneralRe: name decoration issue in DLL Pin
George_George5-Oct-08 21:05
George_George5-Oct-08 21:05 
GeneralRe: name decoration issue in DLL Pin
cmk6-Oct-08 2:50
cmk6-Oct-08 2:50 
1.
Dumpbin is showing the leading _
1 0 000110AF MyFunc1 = @ILT+170(_MyFunc1)
it's the name on the right (_MyFunc1).

2. I mispoke, the compiler does not recognise extern in .c files.
extern "C++" would be used if nesting within an extern "C" block.
e.g. f.cpp

#define T_API __declspec(dllexport)

T_API int f_cpp1 ( int A ) { return(A); }

extern "C" {
T_API int f_c1 ( int A ) { return(A); }

extern "C++" {
T_API int f_cpp2 ( int A ) { return(A); }
}

T_API int f_c2 ( int A ) { return(A); }

} // extern "C"

T_API int f_cpp3 ( int A ) { return(A); }

In the above the nesting of extern "C++" overrides the extern "C" it is within.

See:
http://msdn.microsoft.com/en-us/library/0603949d(VS.80).aspx[^]
http://msdn.microsoft.com/en-us/library/s6y4zxec(VS.80).aspx[^]

...cmk

The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.
- John Carmack

GeneralRe: name decoration issue in DLL Pin
George_George6-Oct-08 22:53
George_George6-Oct-08 22:53 
GeneralRe: name decoration issue in DLL Pin
cmk7-Oct-08 4:54
cmk7-Oct-08 4:54 
GeneralRe: name decoration issue in DLL Pin
George_George7-Oct-08 22:18
George_George7-Oct-08 22:18 
GeneralRe: name decoration issue in DLL Pin
cmk8-Oct-08 4:24
cmk8-Oct-08 4:24 
GeneralRe: name decoration issue in DLL Pin
George_George8-Oct-08 21:40
George_George8-Oct-08 21:40 
GeneralRe: name decoration issue in DLL Pin
cmk9-Oct-08 2:11
cmk9-Oct-08 2:11 
GeneralRe: name decoration issue in DLL Pin
George_George9-Oct-08 3:04
George_George9-Oct-08 3:04 
GeneralRe: name decoration issue in DLL Pin
Bram van Kampen28-Oct-08 14:27
Bram van Kampen28-Oct-08 14:27 

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.