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

C / C++ / MFC

 
GeneralRe: AfxGetApp() Pin
bob1697217-Aug-07 6:55
bob1697217-Aug-07 6:55 
GeneralRe: AfxGetApp() Pin
Emilio Garavaglia17-Aug-07 7:11
Emilio Garavaglia17-Aug-07 7:11 
GeneralRe: AfxGetApp() Pin
bob1697217-Aug-07 7:40
bob1697217-Aug-07 7:40 
GeneralRe: AfxGetApp() Pin
Maxwell Chen17-Aug-07 9:00
Maxwell Chen17-Aug-07 9:00 
GeneralRe: AfxGetApp() Pin
Gary R. Wheeler18-Aug-07 2:15
Gary R. Wheeler18-Aug-07 2:15 
QuestionApplication crashes please help. Pin
shivditya17-Aug-07 2:31
shivditya17-Aug-07 2:31 
AnswerRe: Application crashes please help. Pin
Arun krishnan17-Aug-07 3:53
Arun krishnan17-Aug-07 3:53 
AnswerRe: Application crashes please help. Pin
Waldermort17-Aug-07 4:01
Waldermort17-Aug-07 4:01 
The "calling convention" refers to which end of the function call is responsible for cleaning the stack. From your error, it sounds like you are using the wrong call and the stack is not being cleaned correctly. An important thing to note here, when a function is called, a pointer is pushed onto the stack so that the function knows which part of the code to return to. If the stack is not cleaned correctly, this pointer is lost causing the function to return to an incorrect location, causing a crash.

Read this[^] to get a better idea.
GeneralRe: Application crashes please help. Pin
shivditya17-Aug-07 22:05
shivditya17-Aug-07 22:05 
GeneralRe: Application crashes please help. Pin
Waldermort17-Aug-07 22:13
Waldermort17-Aug-07 22:13 
GeneralRe: Application crashes please help. Pin
Arun krishnan19-Aug-07 4:20
Arun krishnan19-Aug-07 4:20 
GeneralRe: Application crashes please help. Pin
shivditya21-Aug-07 6:15
shivditya21-Aug-07 6:15 
QuestionFile handling issue Pin
__yash__17-Aug-07 1:09
professional__yash__17-Aug-07 1:09 
AnswerRe: File handling issue Pin
sw@thi17-Aug-07 1:41
sw@thi17-Aug-07 1:41 
AnswerRe: File handling issue Pin
Waldermort17-Aug-07 1:41
Waldermort17-Aug-07 1:41 
AnswerRe: File handling issue Pin
__yash__17-Aug-07 1:55
professional__yash__17-Aug-07 1:55 
GeneralRe: File handling issue Pin
SnaKeBeD17-Aug-07 1:50
SnaKeBeD17-Aug-07 1:50 
GeneralRe: File handling issue Pin
sw@thi17-Aug-07 2:02
sw@thi17-Aug-07 2:02 
GeneralRe: File handling issue Pin
__yash__17-Aug-07 2:01
professional__yash__17-Aug-07 2:01 
GeneralRe: File handling issue Pin
__yash__17-Aug-07 2:09
professional__yash__17-Aug-07 2:09 
GeneralRe: File handling issue Pin
SnaKeBeD17-Aug-07 2:18
SnaKeBeD17-Aug-07 2:18 
GeneralRe: File handling issue Pin
sw@thi17-Aug-07 2:32
sw@thi17-Aug-07 2:32 
GeneralRe: File handling issue Pin
SnaKeBeD17-Aug-07 2:20
SnaKeBeD17-Aug-07 2:20 
GeneralRe: File handling issue Pin
__yash__17-Aug-07 3:18
professional__yash__17-Aug-07 3:18 
AnswerRe: File handling issue Pin
David Crow17-Aug-07 4:01
David Crow17-Aug-07 4:01 

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.