When i import my DLL showing this error message..
-
Hi Friends... Run-Time Check Failur#0- The value of ESP was not properly saved across as a function call. This is usually a result of calling a function declared with one calling convention with a function pointer with a different calling convention. Thanks 'N' Advance
*****THANKS N ADVANCE**** Mathen.K (I WILL TRY MY LEVEL BEST )
-
Hi Friends... Run-Time Check Failur#0- The value of ESP was not properly saved across as a function call. This is usually a result of calling a function declared with one calling convention with a function pointer with a different calling convention. Thanks 'N' Advance
*****THANKS N ADVANCE**** Mathen.K (I WILL TRY MY LEVEL BEST )
Thank you for the information.
-
Thank you for the information.
-
you r welcome ....but how to solve it
*****THANKS N ADVANCE**** Mathen.K (I WILL TRY MY LEVEL BEST )
rowdy_vc++ wrote:
how to solve it
this was not there in your original post. actually the error message is very clear. calling convention used in exe and dll are different for the same function. possibly you declared the function as __stdcall in exe and _cdecl in dll. refer calling convention in msdn. post the declaration of the functions used in exe and dll to get answer.
modified on Thursday, March 13, 2008 3:09 AM
-
Thank you for the information.
:laugh: You're such a badass, Raj.
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
-
Hi Friends... Run-Time Check Failur#0- The value of ESP was not properly saved across as a function call. This is usually a result of calling a function declared with one calling convention with a function pointer with a different calling convention. Thanks 'N' Advance
*****THANKS N ADVANCE**** Mathen.K (I WILL TRY MY LEVEL BEST )
So what's the question? :confused: If you are wanting to know how to fix the error message, see here.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
:laugh: You're such a badass, Raj.
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
Rajesh R Subramanian wrote:
You're such a badass, Raj.
using cursing word in public forum is crime dude ! :-)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You