Click here to Skip to main content
15,891,607 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to diable the popup dialog in main dialog Pin
Hamid_RT8-Jun-06 20:47
Hamid_RT8-Jun-06 20:47 
GeneralRe: how to diable the popup dialog in main dialog Pin
happy_ram8-Jun-06 20:52
happy_ram8-Jun-06 20:52 
GeneralRe: how to diable the popup dialog in main dialog Pin
Hamid_RT8-Jun-06 19:56
Hamid_RT8-Jun-06 19:56 
QuestionDifference between WINAPI and CALLBACK Pin
NiceNaidu8-Jun-06 18:42
NiceNaidu8-Jun-06 18:42 
AnswerRe: Difference between WINAPI and CALLBACK Pin
ThatsAlok8-Jun-06 19:13
ThatsAlok8-Jun-06 19:13 
GeneralRe: Difference between WINAPI and CALLBACK Pin
NiceNaidu8-Jun-06 19:26
NiceNaidu8-Jun-06 19:26 
AnswerRe: Difference between WINAPI and CALLBACK Pin
Hamid_RT8-Jun-06 19:21
Hamid_RT8-Jun-06 19:21 
AnswerRe: Difference between WINAPI and CALLBACK Pin
Ryan Binns8-Jun-06 19:51
Ryan Binns8-Jun-06 19:51 
1. Nothing. They are used for different purpose - WINAPI is used for Windows API function calls, CALLBACK is used for callback functions that you define. It's purely so developers can tell the difference between what the functions are used for.

2. The default calling convention for C and C++ is cdecl, not stdcall.

3. No. The first one has the cdecl calling convention, the second is stdcall.

4. A function marked with CALLBACK uses the stdcall calling convention, rather than the usual cdecl. This means that the parameters are popped off the stack by the function, rather than the caller. For cdecl functions, the parameters are popped off the stack by the caller.


Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: Difference between WINAPI and CALLBACK Pin
NiceNaidu8-Jun-06 20:00
NiceNaidu8-Jun-06 20:00 
AnswerRe: Difference between WINAPI and CALLBACK Pin
led mike8-Jun-06 20:03
led mike8-Jun-06 20:03 
QuestionNetwork Pin
Girish6018-Jun-06 18:36
Girish6018-Jun-06 18:36 
AnswerRe: Network Pin
Mila0258-Jun-06 22:58
Mila0258-Jun-06 22:58 
QuestionHow to read image frames from .avi file [modified] Pin
dinyxu8-Jun-06 17:48
dinyxu8-Jun-06 17:48 
AnswerRe: How to read image frames from .avi file [modified] Pin
Hamid_RT8-Jun-06 18:53
Hamid_RT8-Jun-06 18:53 
QuestionFailed in Win2000 But Successful on WinXP When Using CreateCompatibleBitmap(...) ??? Pin
resocman8-Jun-06 16:22
resocman8-Jun-06 16:22 
AnswerRe: Failed in Win2000 But Successful on WinXP When Using CreateCompatibleBitmap(...) ??? Pin
bob169728-Jun-06 17:34
bob169728-Jun-06 17:34 
AnswerRe: Failed in Win2000 But Successful on WinXP When Using CreateCompatibleBitmap(...) ??? Pin
Michael Dunn8-Jun-06 18:03
sitebuilderMichael Dunn8-Jun-06 18:03 
AnswerRe: Failed in Win2000 But Successful on WinXP When Using CreateCompatibleBitmap(...) ??? Pin
Hamid_RT8-Jun-06 19:25
Hamid_RT8-Jun-06 19:25 
QuestionTemplates Help? Pin
G_S8-Jun-06 14:44
G_S8-Jun-06 14:44 
AnswerRe: Templates Help? [modified] Pin
Justin Tay8-Jun-06 17:31
Justin Tay8-Jun-06 17:31 
QuestionLarge Character Text Pin
pblais8-Jun-06 13:43
pblais8-Jun-06 13:43 
AnswerRe: Large Character Text Pin
G_S8-Jun-06 15:31
G_S8-Jun-06 15:31 
GeneralRe: Large Character Text Pin
Ryan Binns8-Jun-06 19:54
Ryan Binns8-Jun-06 19:54 
QuestionCan DirectShow play Mp3 stream? Pin
Cyrus Dang8-Jun-06 11:22
Cyrus Dang8-Jun-06 11:22 
AnswerRe: Can DirectShow play Mp3 stream? Pin
hmklakmal8-Jun-06 12:11
hmklakmal8-Jun-06 12:11 

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.