Click here to Skip to main content
15,921,841 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: IExplorer prob Pin
ThatsAlok25-May-06 21:56
ThatsAlok25-May-06 21:56 
Questionstatic varible Pin
Krishnatv25-May-06 19:41
Krishnatv25-May-06 19:41 
AnswerRe: static varible Pin
Nibu babu thomas25-May-06 20:09
Nibu babu thomas25-May-06 20:09 
GeneralRe: static varible Pin
Krishnatv25-May-06 20:33
Krishnatv25-May-06 20:33 
AnswerRe: static varible Pin
knoxplusplus29-May-06 8:00
knoxplusplus29-May-06 8:00 
Questionwhat the heck is __stdcall about? Pin
Member 303984325-May-06 19:31
Member 303984325-May-06 19:31 
AnswerRe: what the heck is __stdcall about? Pin
Nibu babu thomas25-May-06 19:41
Nibu babu thomas25-May-06 19:41 
GeneralRe: what the heck is __stdcall about? Pin
Smith#25-May-06 21:49
Smith#25-May-06 21:49 
<br />
__cdecl is the default calling convention for C and C++ programs. The advantage of this calling convetion is that it allows functions with a variable number of arguments to be used. The disadvantage is that it creates larger executables. <br />
__stdcall is used to call Win32 API functions. It does not allow functions to have a variable number of arguments. <br />
__fastcall attempts to put arguments in registers, rather than on the stack, thus making function calls faster. <br />
Thiscall calling convention is the default calling convention used by C++ member functions that do not use variable arguments. 


What's "variable number of arguments" ?? means Overloaded functions?
And about _fastcall, if it's going to be faster, why not use it for every function we create? can you tell me about , where a particular convention must be used strictly. (yes, I've not gone through the article fully, but if you can explain please do)

Smile | :)
GeneralRe: what the heck is __stdcall about? Pin
Steve S25-May-06 22:09
Steve S25-May-06 22:09 
GeneralRe: what the heck is __stdcall about? Pin
Smith#25-May-06 22:13
Smith#25-May-06 22:13 
GeneralRe: what the heck is __stdcall about? Pin
Nibu babu thomas25-May-06 22:15
Nibu babu thomas25-May-06 22:15 
GeneralRe: what the heck is __stdcall about? Pin
Member 303984326-May-06 19:08
Member 303984326-May-06 19:08 
AnswerRe: what the heck is __stdcall about? Pin
Hamid_RT25-May-06 20:19
Hamid_RT25-May-06 20:19 
QuestionRichEdit Errors Pin
VinayCool25-May-06 19:26
VinayCool25-May-06 19:26 
AnswerRe: RichEdit Errors Pin
Hamid_RT25-May-06 19:31
Hamid_RT25-May-06 19:31 
GeneralRe: RichEdit Errors Pin
VinayCool25-May-06 19:37
VinayCool25-May-06 19:37 
AnswerRe: RichEdit Errors Pin
Hamid_RT25-May-06 19:39
Hamid_RT25-May-06 19:39 
AnswerRe: RichEdit Errors [modified] Pin
Steve Echols25-May-06 19:41
Steve Echols25-May-06 19:41 
GeneralRe: RichEdit Errors [modified] Pin
VinayCool25-May-06 20:01
VinayCool25-May-06 20:01 
GeneralRe: RichEdit Errors Pin
Steve Echols25-May-06 20:17
Steve Echols25-May-06 20:17 
GeneralRe: RichEdit Errors Pin
VinayCool25-May-06 20:21
VinayCool25-May-06 20:21 
GeneralRe: RichEdit Errors [modified] Pin
Nibu babu thomas25-May-06 20:06
Nibu babu thomas25-May-06 20:06 
GeneralRe: RichEdit Errors Pin
Steve Echols25-May-06 20:29
Steve Echols25-May-06 20:29 
GeneralRe: RichEdit Errors Pin
Nibu babu thomas25-May-06 20:34
Nibu babu thomas25-May-06 20:34 
GeneralRe: RichEdit Errors Pin
Steve Echols25-May-06 20:42
Steve Echols25-May-06 20:42 

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.