Click here to Skip to main content
14,981,456 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tab Control Related problem Pin
Y_Kaushik19-Sep-07 1:07
MemberY_Kaushik19-Sep-07 1:07 
QuestionRe: Tab Control Related problem Pin
David Crow19-Sep-07 2:50
MemberDavid Crow19-Sep-07 2:50 
AnswerRe: Tab Control Related problem Pin
Nelek19-Sep-07 2:41
protectorNelek19-Sep-07 2:41 
AnswerRe: Tab Control Related problem Pin
David Crow19-Sep-07 2:57
MemberDavid Crow19-Sep-07 2:57 
Questiondon't understand MSDN explanations. Can someone explain this? Pin
Nelek18-Sep-07 23:23
protectorNelek18-Sep-07 23:23 
AnswerRe: don't understand MSDN explanations. Can someone explain this? Pin
toxcct18-Sep-07 23:35
Membertoxcct18-Sep-07 23:35 
GeneralDidn't explain myself good Pin
Nelek19-Sep-07 0:35
protectorNelek19-Sep-07 0:35 
GeneralRe: Didn't explain myself good Pin
toxcct19-Sep-07 1:49
Membertoxcct19-Sep-07 1:49 
as explained in the MSDN, "When WIN32_LEAN_AND_MEAN is defined, a large number of header files are deliberately excluded by windows.h". read here[^] for a short brief.

for the __cdecl, this is what we name a "calling convention".
a calling convention is for the compiler to which of the caller or the callee is to clean the call stack.
I explain myself. when you call a function, a call stack is implicitely created to push the parameters and some extra informations such as the execution pointer. but once the function called ended its process, the memory then allocated has to be freed. such a memory can me cleaned by either the caller or the callee, but the important point here is that BOTH must accort themselves to use the same convention (imagine the leak if none is freeing the memory, or the disaster if both are cleaning a one and only memory place).

that is, several calling convention exist such like __cdecl, __stdcall, __fastcall, __thiscall...
google/MSDN can help you more than me for sure.




GeneralRe: Didn't explain myself good Pin
Nelek19-Sep-07 2:08
protectorNelek19-Sep-07 2:08 
QuestionRe: don't understand MSDN explanations. Can someone explain this? Pin
David Crow19-Sep-07 3:04
MemberDavid Crow19-Sep-07 3:04 
AnswerRe: don't understand MSDN explanations. Can someone explain this? Pin
Nelek19-Sep-07 20:28
protectorNelek19-Sep-07 20:28 
GeneralRe: don't understand MSDN explanations. Can someone explain this? Pin
David Crow20-Sep-07 2:42
MemberDavid Crow20-Sep-07 2:42 
GeneralRe: don't understand MSDN explanations. Can someone explain this? Pin
Nelek20-Sep-07 4:12
protectorNelek20-Sep-07 4:12 
GeneralRe: don't understand MSDN explanations. Can someone explain this? Pin
David Crow20-Sep-07 4:30
MemberDavid Crow20-Sep-07 4:30 
JokeRe: don't understand MSDN explanations. Can someone explain this? Pin
Nelek21-Sep-07 1:47
protectorNelek21-Sep-07 1:47 
QuestionFonts Pin
Waldermort18-Sep-07 22:57
MemberWaldermort18-Sep-07 22:57 
AnswerRe: Fonts Pin
KarstenK18-Sep-07 23:05
mveKarstenK18-Sep-07 23:05 
AnswerRe: Fonts Pin
nbugalia18-Sep-07 23:14
Membernbugalia18-Sep-07 23:14 
AnswerRe: Fonts Pin
Waldermort19-Sep-07 0:46
MemberWaldermort19-Sep-07 0:46 
QuestionEM_GETSELTEXT Message Doesn't retrive the Text Pin
GauranG Shah18-Sep-07 22:37
MemberGauranG Shah18-Sep-07 22:37 
AnswerRe: EM_GETSELTEXT Message Doesn't retrive the Text Pin
nbugalia18-Sep-07 23:23
Membernbugalia18-Sep-07 23:23 
GeneralRe: EM_GETSELTEXT Message Doesn't retrive the Text Pin
GauranG Shah18-Sep-07 23:30
MemberGauranG Shah18-Sep-07 23:30 
QuestionRe: EM_GETSELTEXT Message Doesn't retrive the Text Pin
David Crow19-Sep-07 3:24
MemberDavid Crow19-Sep-07 3:24 
AnswerRe: EM_GETSELTEXT Message Doesn't retrive the Text Pin
GauranG Shah19-Sep-07 21:14
MemberGauranG Shah19-Sep-07 21:14 
QuestionRe: EM_GETSELTEXT Message Doesn't retrive the Text Pin
David Crow20-Sep-07 2:27
MemberDavid Crow20-Sep-07 2: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.