Click here to Skip to main content
15,910,787 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: To disable a Button , which is already using ON_UPDATE_COMMAND_UI Pin
David Crow17-Jul-08 3:15
David Crow17-Jul-08 3:15 
GeneralRe: To disable a Button , which is already using ON_UPDATE_COMMAND_UI Pin
kDevloper17-Jul-08 18:33
kDevloper17-Jul-08 18:33 
QuestionRe: To disable a Button , which is already using ON_UPDATE_COMMAND_UI Pin
David Crow18-Jul-08 9:00
David Crow18-Jul-08 9:00 
Questionhas anyone worked on push technology using c++ ?? Pin
jalsa G17-Jul-08 0:26
jalsa G17-Jul-08 0:26 
QuestionRe: has anyone worked on push technology using c++ ?? Pin
Mark Salsbery17-Jul-08 7:53
Mark Salsbery17-Jul-08 7:53 
AnswerRe: has anyone worked on push technology using c++ ?? Pin
ThatsAlok17-Jul-08 22:10
ThatsAlok17-Jul-08 22:10 
Questioncalling convention stdcalll and cdecl call Pin
George_George16-Jul-08 23:26
George_George16-Jul-08 23:26 
AnswerRe: calling convention stdcalll and cdecl call [modified] Pin
Naveen16-Jul-08 23:48
Naveen16-Jul-08 23:48 
George_George wrote:
Both stdcall and cdecl calling convention could support variable input parameters? Is that correct?


I dont think so. Only cdecl will be able to support variable number of arguments. Because in stdcall, the stack is cleaned by the called function. That means that function should know how much variables it accepts at the compile time it self.

But in the case of cdecl, the caller should clean the stack. Since the caller is pushing the variables to stack, it correctly know how much size to should pop from stack


modified on Thursday, July 17, 2008 5:58 AM

GeneralRe: calling convention stdcalll and cdecl call Pin
George_George17-Jul-08 19:52
George_George17-Jul-08 19:52 
GeneralRe: calling convention stdcalll and cdecl call Pin
Naveen17-Jul-08 20:09
Naveen17-Jul-08 20:09 
GeneralRe: calling convention stdcalll and cdecl call Pin
George_George20-Jul-08 19:18
George_George20-Jul-08 19:18 
GeneralRe: calling convention stdcalll and cdecl call Pin
Naveen20-Jul-08 19:20
Naveen20-Jul-08 19:20 
GeneralRe: calling convention stdcalll and cdecl call Pin
George_George20-Jul-08 20:08
George_George20-Jul-08 20:08 
AnswerRe: calling convention stdcalll and cdecl call Pin
Nemanja Trifunovic17-Jul-08 3:25
Nemanja Trifunovic17-Jul-08 3:25 
GeneralRe: calling convention stdcalll and cdecl call Pin
George_George17-Jul-08 19:52
George_George17-Jul-08 19:52 
GeneralRe: calling convention stdcalll and cdecl call Pin
Nemanja Trifunovic18-Jul-08 4:00
Nemanja Trifunovic18-Jul-08 4:00 
GeneralRe: calling convention stdcalll and cdecl call Pin
George_George20-Jul-08 19:20
George_George20-Jul-08 19:20 
QuestionRPC and IOCP tutorial? Pin
George_George16-Jul-08 23:20
George_George16-Jul-08 23:20 
AnswerRe: RPC and IOCP tutorial? Pin
Hamid_RT17-Jul-08 0:26
Hamid_RT17-Jul-08 0:26 
GeneralRe: RPC and IOCP tutorial? Pin
led mike17-Jul-08 6:09
led mike17-Jul-08 6:09 
GeneralRe: RPC and IOCP tutorial? Pin
George_George17-Jul-08 19:31
George_George17-Jul-08 19:31 
GeneralRe: RPC and IOCP tutorial? Pin
George_George17-Jul-08 19:30
George_George17-Jul-08 19:30 
GeneralRe: RPC and IOCP tutorial? Pin
Hamid_RT17-Jul-08 20:37
Hamid_RT17-Jul-08 20:37 
GeneralRe: RPC and IOCP tutorial? Pin
George_George17-Jul-08 20:59
George_George17-Jul-08 20:59 
GeneralRe: RPC and IOCP tutorial? Pin
Hamid_RT18-Jul-08 3:02
Hamid_RT18-Jul-08 3:02 

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.