Click here to Skip to main content
16,005,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: AfxGetApp() Pin
Maxwell Chen17-Aug-07 3:47
Maxwell Chen17-Aug-07 3:47 
AnswerRe: AfxGetApp() Pin
Emilio Garavaglia17-Aug-07 6:36
Emilio Garavaglia17-Aug-07 6:36 
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 
I am developing application which has to use third party dll,(for scanning)who only has described exported functions with function definition.
After I developed a application,which gives proper result but it gives assertion in debug mode at each and every call of function imported from dll. Following is assertion.

"The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention."

And after completion of process (scanning) application terminates.
I read articles from google,msdn and included __stdcall ,WINAPI ,combination
but error comes as it is. In release mode assertion does not come.but application crashes everytime. I cannot debug it as application is terminating after passing end of function call. Only all it shows in debug is access violation and all binary code.







|| ART OF LIVING ||

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 
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 

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.